(stable) fix import gone wrong in 43d8c042ca20 stable
authorChristian Ebert <blacktrash@gmx.net>
Sun, 07 Jun 2009 19:15:09 +0200
branchstable
changeset 563 353fad43ad99
parent 558 e86eaa71219d
child 564 1ce04b8decf2
child 565 3f3c9472c0b6
(stable) fix import gone wrong in 43d8c042ca20
hgkw/keyword.py
--- a/hgkw/keyword.py	Fri Dec 19 16:47:36 2008 -0600
+++ b/hgkw/keyword.py	Sun Jun 07 19:15:09 2009 +0200
@@ -484,7 +484,7 @@
                     repo.hook('commit', node=n, parent1=_p1, parent2=_p2)
                 return n
             finally:
-                del wlock, lock
+                release(lock, wlock)
 
     # monkeypatches
     def kwpatchfile_init(orig, self, ui, fname, opener, missing=False):