~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: John Arbash Meinel
  • Date: 2007-10-26 19:08:21 UTC
  • mto: This revision was merged to the branch mainline in revision 2982.
  • Revision ID: john@arbash-meinel.com-20071026190821-ol840ac6hknunpqd
Switch from using Tree.inventory.root.file_id() to using Tree.path2id('')

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.path2id('')
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,