Rev 2572: Remove outdated comments in http://sourcefrog.net/bzr/dlock

Martin Pool mbp at sourcefrog.net
Tue Jul 3 10:23:19 BST 2007


At http://sourcefrog.net/bzr/dlock

------------------------------------------------------------
revno: 2572
revision-id: mbp at sourcefrog.net-20070703092317-7uf5ftvnu268m4ls
parent: mbp at sourcefrog.net-20070703091157-r98tvj1rwxorobog
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: dlock
timestamp: Tue 2007-07-03 19:23:17 +1000
message:
  Remove outdated comments
modified:
  bzrlib/lockdir.py              lockdir.py-20060220222025-98258adf27fbdda3
=== modified file 'bzrlib/lockdir.py'
--- a/bzrlib/lockdir.py	2007-07-03 09:11:57 +0000
+++ b/bzrlib/lockdir.py	2007-07-03 09:23:17 +0000
@@ -237,12 +237,7 @@
             self._trace("rename succeeded, "
                 "but lock is still held by someone else")
             raise LockContention(self)
-        # we don't call confirm here because we don't want to set
-        # _lock_held til we're sure it's true, and because it's really a
-        # problem, not just regular contention, if this fails
         self._lock_held = True
-        # FIXME: we should remove the pending lock if we fail, 
-        # https://bugs.launchpad.net/bzr/+bug/109169
         self._trace("... lock succeeded after %dms",
                 (time.time() - start_time) * 1000)
         return self.nonce




More information about the bazaar-commits mailing list