/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/store/__init__.py

  • Committer: Martin Pool
  • Date: 2007-10-10 00:21:57 UTC
  • mfrom: (2900 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2901.
  • Revision ID: mbp@sourcefrog.net-20071010002157-utci0x44m2w47wgd
merge news

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
            pb.update('preparing to copy')
128
128
        failed = set()
129
129
        count = 0
130
 
        ids = [osutils.safe_file_id(i) for i in ids] # get the list for showing a length.
131
130
        for fileid in ids:
132
131
            count += 1
133
132
            if self.has_id(fileid):
172
171
 
173
172
        f -- A file-like object
174
173
        """
175
 
        fileid = osutils.safe_file_id(fileid)
176
174
        mutter("add store entry %r", fileid)
177
175
        names = self._id_to_names(fileid, suffix)
178
176
        if self._transport.has_any(names):
212
210
 
213
211
    def has_id(self, fileid, suffix=None):
214
212
        """See Store.has_id."""
215
 
        fileid = osutils.safe_file_id(fileid)
216
213
        return self._transport.has_any(self._id_to_names(fileid, suffix))
217
214
 
218
215
    def _get_name(self, fileid, suffix=None):
236
233
 
237
234
    def get(self, fileid, suffix=None):
238
235
        """See Store.get()."""
239
 
        fileid = osutils.safe_file_id(fileid)
240
236
        names = self._id_to_names(fileid, suffix)
241
237
        for name in names:
242
238
            try: