changeset 1554:59f5bb1f1877

transaction: fix release order in 'rewrite' This was wrong for quite sometime.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 11 Dec 2015 10:49:29 +0000
parents ed63bf62ff02
children 0ff262537f98
files hgext/evolve.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/evolve.py	Fri Dec 04 15:28:29 2015 -0800
+++ b/hgext/evolve.py	Fri Dec 11 10:49:29 2015 +0000
@@ -891,7 +891,7 @@
         tr.close()
         return newid, created
     finally:
-        lockmod.release(lock, wlock, tr)
+        lockmod.release(tr, lock, wlock)
 
 class MergeFailure(error.Abort):
     pass