# HG changeset patch # User Pierre-Yves David # Date 1449830969 0 # Node ID 59f5bb1f1877e8e131642db6582ad8a50c02873e # Parent ed63bf62ff02cf5a1c9c12841b3ed0dfa7eccf2c transaction: fix release order in 'rewrite' This was wrong for quite sometime. diff -r ed63bf62ff02 -r 59f5bb1f1877 hgext/evolve.py --- 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