[Pkg-bazaar-commits] ./bzr/unstable r587: - fix up locking on RemoteBranch

Martin Pool mbp at sourcefrog.net
Fri Apr 10 08:19:49 UTC 2009


------------------------------------------------------------
revno: 587
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Mon 2005-05-30 12:02:46 +1000
message:
  - fix up locking on RemoteBranch
modified:
  bzrlib/remotebranch.py
-------------- next part --------------
=== modified file 'bzrlib/remotebranch.py'
--- a/bzrlib/remotebranch.py	2005-05-30 01:57:04 +0000
+++ b/bzrlib/remotebranch.py	2005-05-30 02:02:46 +0000
@@ -101,10 +101,6 @@
 class RemoteBranch(Branch):
     def __init__(self, baseurl, find_root=True):
         """Create new proxy for a remote branch."""
-        if lock_mode not in ('', 'r'):
-            raise BzrError('lock mode %r is not supported for remote branches'
-                           % lock_mode)
-
         if find_root:
             self.baseurl = _find_remote_root(baseurl)
         else:



More information about the Pkg-bazaar-commits mailing list