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