# HG changeset patch # User Pierre-Yves David # Date 1470920717 -7200 # Node ID 3006d0d26ad37f3e3e5f20559733cedb17688415 # Parent 98b9846a131e2006171ea136351c6d2dc76f7d8a mq: release lock after transaction in qrefresh The transaction should be closed within the lock. diff -r 98b9846a131e -r 3006d0d26ad3 hgext/mq.py --- 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())