~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Martin Pool
  • Date: 2010-01-12 06:30:41 UTC
  • mfrom: (4634.119.3 2.0)
  • mto: This revision was merged to the branch mainline in revision 4951.
  • Revision ID: mbp@sourcefrog.net-20100112063041-qp2ei0clx5gh0e9e
merge 2.0 back to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
951
951
    def is_write_locked(self):
952
952
        return self._lock_mode == 'w'
953
953
 
 
954
    def _warn_if_deprecated(self, branch=None):
 
955
        # If we have a real repository, the check will be done there, if we
 
956
        # don't the check will be done remotely.
 
957
        pass
 
958
 
954
959
    def lock_read(self):
955
960
        # wrong eventually - want a local lock cache context
956
961
        if not self._lock_mode: