diff -r 92bf9abc4deb -r 4f2222f86612 tests/test-bundle2-exchange.t --- a/tests/test-bundle2-exchange.t Sun Oct 12 06:40:36 2014 -0700 +++ b/tests/test-bundle2-exchange.t Mon Oct 13 14:47:36 2014 -0700 @@ -25,6 +25,8 @@ > allow_push = * > [phases] > publish=False + > [hooks] + > b2x-transactionclose = sh -c "HG_LOCAL= HG_NODE= HG_TAG= python \"$TESTDIR/printenv.py\" b2x-transactionclose" > EOF The extension requires a repo (currently unused) @@ -152,6 +154,7 @@ $ hg -R main push other --rev eea13746799a --bookmark book_eea1 pushing to other searching for changes + b2x-transactionclose hook: HG_BUNDLE2-EXP=1 HG_NEW_OBSMARKERS=1 HG_SOURCE=push HG_URL=push remote: adding changesets remote: adding manifests remote: adding file changes @@ -224,6 +227,7 @@ remote: added 1 changesets with 1 changes to 1 files remote: 1 new obsolescence markers updating bookmark book_5fdd + remote: b2x-transactionclose hook: HG_BUNDLE2-EXP=1 HG_NEW_OBSMARKERS=1 HG_SOURCE=serve HG_URL=remote:ssh:127.0.0.1 $ hg -R other log -G o 6:5fddd98957c8 draft Nicolas Dumazet book_5fdd C |