--- a/tests/test-hook.t Mon Apr 20 16:05:32 2015 +0200
+++ b/tests/test-hook.t Mon Apr 20 15:27:55 2015 +0200
@@ -1,4 +1,5 @@
commit hooks can see env vars
+(and post-transaction one are run unlocked)
$ hg init a
$ cd a
@@ -16,6 +17,7 @@
> pretxnclose = sh -c "HG_LOCAL= HG_TAG= python \"$TESTDIR/printenv.py\" pretxnclose"
> txnclose = sh -c "HG_LOCAL= HG_TAG= python \"$TESTDIR/printenv.py\" txnclose"
> txnabort = sh -c "HG_LOCAL= HG_TAG= python \"$TESTDIR/printenv.py\" txnabort"
+ > txnclose.checklock = hg debuglock > /dev/null
> EOF
$ echo a > a
$ hg add a