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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-11-13 17:48:49 UTC
  • mfrom: (2946.3.5 tree_root_id)
  • Revision ID: pqm@pqm.ubuntu.com-20071113174849-2zsajpakcs8uy1bo
(John Arbash Meinel) Consolidate all calls to get the root id of a tree to use Tree.get_root_id()

Show diffs side-by-side

added added

removed removed

Lines of Context:
347
347
        to_store = self.target.weave_store
348
348
        for tree in self.iter_rev_trees(revs):
349
349
            revision_id = tree.inventory.root.revision
350
 
            root_id = tree.inventory.root.file_id
 
350
            root_id = tree.get_root_id()
351
351
            parents = inventory_weave.get_parents(revision_id)
352
352
            if root_id not in versionedfile:
353
353
                versionedfile[root_id] = to_store.get_weave_or_empty(root_id,