/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 breezy/fetch.py

  • Committer: Jelmer Vernooij
  • Date: 2018-10-29 11:27:33 UTC
  • mto: This revision was merged to the branch mainline in revision 7170.
  • Revision ID: jelmer@jelmer.uk-20181029112733-bjvm24z12svwl53m
Get rid of file_ids in most of Tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
211
211
        revision_root = {}
212
212
        for tree in self.iter_rev_trees(revs):
213
213
            root_id = tree.get_root_id()
214
 
            revision_id = tree.get_file_revision(u'', root_id)
 
214
            revision_id = tree.get_file_revision(u'')
215
215
            revision_root[revision_id] = root_id
216
216
        # Find out which parents we don't already know root ids for
217
217
        parents = set(viewvalues(parent_map))
317
317
                pass
318
318
            else:
319
319
                try:
320
 
                    parent_ids.append(tree.get_file_revision(tree.id2path(root_id), root_id))
 
320
                    parent_ids.append(tree.get_file_revision(tree.id2path(root_id)))
321
321
                except errors.NoSuchId:
322
322
                    # not in the tree
323
323
                    pass