Rev 3025: Fix regression due to other pack related fixes in tests with packs not-default. in http://people.ubuntu.com/~robertc/baz2.0/pack.read-locks

Robert Collins robertc at robertcollins.net
Mon Nov 26 02:36:32 GMT 2007


At http://people.ubuntu.com/~robertc/baz2.0/pack.read-locks

------------------------------------------------------------
revno: 3025
revision-id:robertc at robertcollins.net-20071126023626-g5by92lh6cakhkpq
parent: robertc at robertcollins.net-20071126021110-bnc8ls8pjlbojj92
committer: Robert Collins <robertc at robertcollins.net>
branch nick: pack.read-locks
timestamp: Mon 2007-11-26 13:36:26 +1100
message:
  Fix regression due to other pack related fixes in tests with packs not-default.
modified:
  bzrlib/remote.py               remote.py-20060720103555-yeeg2x51vn0rbtdp-1
=== modified file 'bzrlib/remote.py'
--- a/bzrlib/remote.py	2007-11-26 02:11:10 +0000
+++ b/bzrlib/remote.py	2007-11-26 02:36:26 +0000
@@ -412,7 +412,9 @@
 
     def get_physical_lock_status(self):
         """See Repository.get_physical_lock_status()."""
-        return False
+        # should be an API call to the server.
+        self._ensure_real()
+        return self._real_repository.get_physical_lock_status()
 
     def is_in_write_group(self):
         """Return True if there is an open write group.



More information about the bazaar-commits mailing list