[Pkg-bazaar-commits] ./bzr/unstable r354: doc

Martin Pool mbp at sourcefrog.net
Fri Apr 10 07:52:01 UTC 2009


------------------------------------------------------------
revno: 354
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Thu 2005-05-05 15:34:55 +1000
message:
  doc
modified:
  bzrlib/branch.py
-------------- next part --------------
=== modified file 'bzrlib/branch.py'
--- a/bzrlib/branch.py	2005-05-05 03:34:34 +0000
+++ b/bzrlib/branch.py	2005-05-05 05:34:55 +0000
@@ -134,6 +134,10 @@
             else:
                 raise BzrError("invalid locking mode %r" % mode)
 
+            # XXX: Old branches might not have the lock file, and
+            # won't get one until someone does a write-mode command on
+            # them or creates it by hand.
+
             lockfile = os.open(self.controlfilename('branch-lock'), om)
             fcntl.lockf(lockfile, lm)
             def unlock(self):



More information about the Pkg-bazaar-commits mailing list