~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-08-15 02:58:10 UTC
  • mfrom: (3634.2.1 remote_rev_id_to_revno)
  • Revision ID: pqm@pqm.ubuntu.com-20080815025810-eguaiqf0kwwqo4yp
(jam) RemoteBranch.revision_id_to_revno defers to the real branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1593
1593
    def is_locked(self):
1594
1594
        return self._lock_count >= 1
1595
1595
 
 
1596
    @needs_read_lock
 
1597
    def revision_id_to_revno(self, revision_id):
 
1598
        self._ensure_real()
 
1599
        return self._real_branch.revision_id_to_revno(revision_id)
 
1600
 
1596
1601
    @needs_write_lock
1597
1602
    def set_last_revision_info(self, revno, revision_id):
1598
1603
        revision_id = ensure_null(revision_id)