##// END OF EJS Templates
test-bundle2: test that we got appropriate hook called with appropriate data...
Pierre-Yves David -
r22938:4f2222f8 default
parent child Browse files
Show More
@@ -25,6 +25,8 b' enable obsolescence'
25 25 > allow_push = *
26 26 > [phases]
27 27 > publish=False
28 > [hooks]
29 > b2x-transactionclose = sh -c "HG_LOCAL= HG_NODE= HG_TAG= python \"$TESTDIR/printenv.py\" b2x-transactionclose"
28 30 > EOF
29 31
30 32 The extension requires a repo (currently unused)
@@ -152,6 +154,7 b' push'
152 154 $ hg -R main push other --rev eea13746799a --bookmark book_eea1
153 155 pushing to other
154 156 searching for changes
157 b2x-transactionclose hook: HG_BUNDLE2-EXP=1 HG_NEW_OBSMARKERS=1 HG_SOURCE=push HG_URL=push
155 158 remote: adding changesets
156 159 remote: adding manifests
157 160 remote: adding file changes
@@ -224,6 +227,7 b' push over ssh'
224 227 remote: added 1 changesets with 1 changes to 1 files
225 228 remote: 1 new obsolescence markers
226 229 updating bookmark book_5fdd
230 remote: b2x-transactionclose hook: HG_BUNDLE2-EXP=1 HG_NEW_OBSMARKERS=1 HG_SOURCE=serve HG_URL=remote:ssh:127.0.0.1
227 231 $ hg -R other log -G
228 232 o 6:5fddd98957c8 draft Nicolas Dumazet <nicdumz.commits@gmail.com> book_5fdd C
229 233 |
General Comments 0
You need to be logged in to leave comments. Login now