~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Lukáš Lalinský
  • Date: 2007-12-03 21:11:03 UTC
  • mto: (3298.2.1 get_rev_id)
  • mto: This revision was merged to the branch mainline in revision 3328.
  • Revision ID: lalinsky@gmail.com-20071203211103-40soo8ldds0lyu2l
Make RevisionSpec_revid and RevisionSpec_revno not load the whole revision history.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2081
2081
    def _make_tags(self):
2082
2082
        return BasicTags(self)
2083
2083
 
 
2084
    @needs_read_lock
2084
2085
    def get_rev_id(self, revno, history=None):
2085
2086
        """Find the revision id of the specified revno."""
2086
2087
        if revno == 0: