~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remotebranch.py

  • Committer: Martin Pool
  • Date: 2005-05-30 02:02:46 UTC
  • Revision ID: mbp@sourcefrog.net-20050530020246-e17c05ada7e54c79
- fix up locking on RemoteBranch

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
class RemoteBranch(Branch):
102
102
    def __init__(self, baseurl, find_root=True):
103
103
        """Create new proxy for a remote branch."""
104
 
        if lock_mode not in ('', 'r'):
105
 
            raise BzrError('lock mode %r is not supported for remote branches'
106
 
                           % lock_mode)
107
 
 
108
104
        if find_root:
109
105
            self.baseurl = _find_remote_root(baseurl)
110
106
        else: