mercurial/cmdutil.py
changeset 19024 ab04e87a5f3b
parent 18991 c1af1fb314bc
child 19129 bd19587a3347
--- a/mercurial/cmdutil.py	Wed Apr 17 03:40:18 2013 +0200
+++ b/mercurial/cmdutil.py	Wed Apr 17 03:41:08 2013 +0200
@@ -1790,7 +1790,7 @@
     finally:
         if newid is None:
             repo.dirstate.invalidate()
-        lockmod.release(wlock, lock)
+        lockmod.release(lock, wlock)
     return newid
 
 def commiteditor(repo, ctx, subs):