comparison tests/test-bundle2-exchange.t @ 23389:ce209c9d0aad

tests: fix another multi-statement hook for Windows The double quotes are necessary, otherwise it tries to pipe into a program named 'short'. An '&' could serve as a command separator on Windows instead of ';', but I don't see any obvious way to swap these depending on the platform. In this case though, there really wasn't a need for multiple statements.
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 20 Nov 2014 20:07:34 -0500
parents 936b0ff34346
children 94e2862dbcfb
comparison
equal deleted inserted replaced
23388:42ed0780ec4b 23389:ce209c9d0aad
19 > allow_push = * 19 > allow_push = *
20 > [phases] 20 > [phases]
21 > publish=False 21 > publish=False
22 > [hooks] 22 > [hooks]
23 > changegroup = sh -c "HG_LOCAL= python \"$TESTDIR/printenv.py\" changegroup" 23 > changegroup = sh -c "HG_LOCAL= python \"$TESTDIR/printenv.py\" changegroup"
24 > b2x-pretransactionclose.tip = printf 'pre-close-tip:'; hg log -r tip -T '{node|short} {phase} {bookmarks}\n' 24 > b2x-pretransactionclose.tip = hg log -r tip -T "pre-close-tip:{node|short} {phase} {bookmarks}\n"
25 > b2x-transactionclose.tip = printf 'postclose-tip:'; hg log -r tip -T '{node|short} {phase} {bookmarks}\n' 25 > b2x-transactionclose.tip = hg log -r tip -T "postclose-tip:{node|short} {phase} {bookmarks}\n"
26 > b2x-transactionclose.env = sh -c "HG_LOCAL= python \"$TESTDIR/printenv.py\" b2x-transactionclose" 26 > b2x-transactionclose.env = sh -c "HG_LOCAL= python \"$TESTDIR/printenv.py\" b2x-transactionclose"
27 > EOF 27 > EOF
28 28
29 The extension requires a repo (currently unused) 29 The extension requires a repo (currently unused)
30 30