~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Aaron Bentley
  • Date: 2006-08-23 04:25:06 UTC
  • mto: (1910.2.43 format-bumps)
  • mto: This revision was merged to the branch mainline in revision 1997.
  • Revision ID: aaron.bentley@utoronto.ca-20060823042506-98adf009e8bd90d1
Make commits preserve root entry data

Show diffs side-by-side

added added

removed removed

Lines of Context:
300
300
                                                   parent_texts)
301
301
        versionedfile.clear_cache()
302
302
 
 
303
    def _fetch_inventory_weave(self, revs):
 
304
        revision_trees = self.from_repository.revision_trees(revs)
 
305
        inventory_weave = self.from_repository.get_inventory_weave()
 
306
        for tree in revision_trees:
 
307
            parents = inventory_weave.get_parents(tree.get_revision_id())
 
308
            self.to_repository.add_inventory(tree.get_revision_id(),
 
309
                                             tree.inventory, parents)
 
310
 
303
311
 
304
312
class Fetcher(object):
305
313
    """Backwards compatibility glue for branch.fetch()."""