~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: John Arbash Meinel
  • Date: 2006-10-16 01:50:48 UTC
  • mfrom: (2078 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2080.
  • Revision ID: john@arbash-meinel.com-20061016015048-0f22df07e38093da
[merge] bzr.dev 2078

Show diffs side-by-side

added added

removed removed

Lines of Context:
605
605
        # TODO: refactor this to use an existing revision object
606
606
        # so we don't need to read it in twice.
607
607
        if revision_id is None or revision_id == _mod_revision.NULL_REVISION:
608
 
            return RevisionTree(self, Inventory(), _mod_revision.NULL_REVISION)
 
608
            return RevisionTree(self, Inventory(root_id=None), 
 
609
                                _mod_revision.NULL_REVISION)
609
610
        else:
610
611
            inv = self.get_revision_inventory(revision_id)
611
612
            return RevisionTree(self, inv, revision_id)