~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Martin Pool
  • Date: 2005-05-17 08:07:48 UTC
  • Revision ID: mbp@sourcefrog.net-20050517080748-8f5f38af0c99f6aa
todo

Show diffs side-by-side

added added

removed removed

Lines of Context:
573
573
 
574
574
        `revision_id` may be None for the null revision, in which case
575
575
        an `EmptyTree` is returned."""
 
576
        # TODO: refactor this to use an existing revision object
 
577
        # so we don't need to read it in twice.
576
578
        self._need_readlock()
577
579
        if revision_id == None:
578
580
            return EmptyTree()