Mercurial > hg-stable
changeset 30070:3006d0d26ad3
mq: release lock after transaction in qrefresh
The transaction should be closed within the lock.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 11 Aug 2016 15:05:17 +0200 |
parents | 98b9846a131e |
children | 2def3d55b1b9 |
files | hgext/mq.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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())