##// 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 > allow_push = *
25 > allow_push = *
26 > [phases]
26 > [phases]
27 > publish=False
27 > publish=False
28 > [hooks]
29 > b2x-transactionclose = sh -c "HG_LOCAL= HG_NODE= HG_TAG= python \"$TESTDIR/printenv.py\" b2x-transactionclose"
28 > EOF
30 > EOF
29
31
30 The extension requires a repo (currently unused)
32 The extension requires a repo (currently unused)
@@ -152,6 +154,7 b' push'
152 $ hg -R main push other --rev eea13746799a --bookmark book_eea1
154 $ hg -R main push other --rev eea13746799a --bookmark book_eea1
153 pushing to other
155 pushing to other
154 searching for changes
156 searching for changes
157 b2x-transactionclose hook: HG_BUNDLE2-EXP=1 HG_NEW_OBSMARKERS=1 HG_SOURCE=push HG_URL=push
155 remote: adding changesets
158 remote: adding changesets
156 remote: adding manifests
159 remote: adding manifests
157 remote: adding file changes
160 remote: adding file changes
@@ -224,6 +227,7 b' push over ssh'
224 remote: added 1 changesets with 1 changes to 1 files
227 remote: added 1 changesets with 1 changes to 1 files
225 remote: 1 new obsolescence markers
228 remote: 1 new obsolescence markers
226 updating bookmark book_5fdd
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 $ hg -R other log -G
231 $ hg -R other log -G
228 o 6:5fddd98957c8 draft Nicolas Dumazet <nicdumz.commits@gmail.com> book_5fdd C
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