78
78
"""Add contents of a file into the store.
80
80
f -- An open file, or file-like object."""
84
85
mutter("add store entry %r" % (fileid))
85
86
if isinstance(f, types.StringTypes):
91
92
if os.access(p, os.F_OK) or os.access(p + '.gz', os.F_OK):
92
93
raise BzrError("store %r already contains id %r" % (self._basedir, fileid))
103
112
def copy_multi(self, other, ids):