hgext/mq.py
changeset 30070 3006d0d26ad3
parent 29968 0342bf292f73
child 30369 d79c141fdf41
--- a/hgext/mq.py	Thu Aug 11 14:51:19 2016 +0200
+++ b/hgext/mq.py	Thu Aug 11 15:05:17 2016 +0200
@@ -1840,7 +1840,7 @@
 
                     self.applied.append(statusentry(n, patchfn))
                 finally:
-                    lockmod.release(lock, tr)
+                    lockmod.release(tr, lock)
             except: # re-raises
                 ctx = repo[cparents[0]]
                 repo.dirstate.rebuild(ctx.node(), ctx.manifest())