At http://people.ubuntu.com/~robertc/baz2.0/plugins/svn/trunk

------------------------------------------------------------
revno: 1972
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Robert Collins <[EMAIL PROTECTED]>
branch nick: trunk
timestamp: Fri 2008-12-05 16:59:16 +1100
message:
  Implement is_locked on SvnBranch.
modified:
  branch.py                      svnbranch.py-20051017135706-11c749eb0dab04a7
=== modified file 'branch.py'
--- a/branch.py 2008-11-28 23:03:38 +0000
+++ b/branch.py 2008-12-05 05:59:16 +0000
@@ -477,6 +477,9 @@
         finally:
             pb.finished()
 
+    def is_locked(self):
+        return self._lock_count != 0
+
     def lock_write(self):
         """See Branch.lock_write()."""
         # TODO: Obtain lock on the remote server?


-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to