Rev 2565: doc in http://sourcefrog.net/bzr/dlock
Martin Pool
mbp at sourcefrog.net
Thu Jun 28 08:43:26 BST 2007
At http://sourcefrog.net/bzr/dlock
------------------------------------------------------------
revno: 2565
revision-id: mbp at sourcefrog.net-20070628074325-fewhyi24ittr3kyz
parent: mbp at sourcefrog.net-20070628060630-n7ygr23xhjcnay9w
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: dlock
timestamp: Thu 2007-06-28 17:43:25 +1000
message:
doc
modified:
bzrlib/lockdir.py lockdir.py-20060220222025-98258adf27fbdda3
=== modified file 'bzrlib/lockdir.py'
--- a/bzrlib/lockdir.py 2007-06-28 06:06:30 +0000
+++ b/bzrlib/lockdir.py 2007-06-28 07:43:25 +0000
@@ -94,6 +94,15 @@
"""
+
+# TODO: We sometimes have the problem that our attempt to rename '1234' to
+# 'held' fails because the transport server moves into an existing directory,
+# rather than failing the rename. If we made the info file name the same as
+# the locked directory name we would avoid this problem because moving into
+# the held directory would implicitly clash. However this would not mesh with
+# the existing locking code and needs a new format of the containing object.
+# -- robertc, mbp 20070628
+
import os
import time
from cStringIO import StringIO
More information about the bazaar-commits
mailing list