hgkw/keyword.py
branchstable
changeset 563 353fad43ad99
parent 556 a2bf4f77dbec
child 569 cd5da00e93cd
--- 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):