/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 object_store.py

  • Committer: Jelmer Vernooij
  • Date: 2018-03-08 01:08:54 UTC
  • mto: (0.200.1831 work)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@jelmer.uk-20180308010854-hsj46y62wyzfdgjh
Improve transaction and write group handling.

Show diffs side-by-side

added added

removed removed

Lines of Context:
417
417
        # FIXME: This can probably be a lot more efficient,
418
418
        # not all files necessarily have to be processed.
419
419
        file_ids = {}
420
 
        for (path, ie) in tree.inventory.iter_entries():
 
420
        for (path, ie) in tree.iter_entries_by_dir():
421
421
            if self.mapping.generate_file_id(path) != ie.file_id:
422
422
                file_ids[path] = ie.file_id
423
423
        return self.mapping.export_fileid_map(file_ids)