/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Andrew Bennetts
  • Date: 2009-10-07 05:33:23 UTC
  • mto: (4634.52.14 2.0)
  • mto: This revision was merged to the branch mainline in revision 4738.
  • Revision ID: andrew.bennetts@canonical.com-20091007053323-1uyaywnh3k8f3zoe
Apply @needs_read_lock to RemoteBranch.get_rev_id.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2392
2392
            raise NotImplementedError(self.dont_leave_lock_in_place)
2393
2393
        self._leave_lock = False
2394
2394
 
 
2395
    @needs_read_lock
2395
2396
    def get_rev_id(self, revno, history=None):
2396
2397
        if revno == 0:
2397
2398
            return _mod_revision.NULL_REVISION