~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Aaron Bentley
  • Date: 2006-08-25 21:49:47 UTC
  • mfrom: (1910.8.1 format-bumps)
  • mto: This revision was merged to the branch mainline in revision 1997.
  • Revision ID: aaron.bentley@utoronto.ca-20060825214947-62b9eea88621dc01
Merge from other branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
304
304
        inventory_weave = fetcher.from_repository.get_inventory_weave()
305
305
        for tree in revision_trees:
306
306
            parents = inventory_weave.get_parents(tree.get_revision_id())
 
307
            if tree.inventory.revision_id is None:
 
308
                tree.inventory.revision_id = tree.get_revision_id()
307
309
            fetcher.to_repository.add_inventory(tree.get_revision_id(),
308
310
                                                tree.inventory, parents)
309
311