Mercurial > hg
comparison tests/test-bundle2-exchange.t @ 25478:d19787db6fe0
tests: simplify printenv calls
Make printenv executable so that we don't need python, TESTDIR, or
quoting.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 08 Jun 2015 15:10:15 -0500 |
parents | 46727fea7a00 |
children | 6de96cb31176 |
comparison
equal
deleted
inserted
replaced
25477:a372f7b4463b | 25478:d19787db6fe0 |
---|---|
26 > [phases] | 26 > [phases] |
27 > publish=False | 27 > publish=False |
28 > [hooks] | 28 > [hooks] |
29 > pretxnclose.tip = hg log -r tip -T "pre-close-tip:{node|short} {phase} {bookmarks}\n" | 29 > pretxnclose.tip = hg log -r tip -T "pre-close-tip:{node|short} {phase} {bookmarks}\n" |
30 > txnclose.tip = hg log -r tip -T "postclose-tip:{node|short} {phase} {bookmarks}\n" | 30 > txnclose.tip = hg log -r tip -T "postclose-tip:{node|short} {phase} {bookmarks}\n" |
31 > txnclose.env = sh -c "HG_LOCAL= python \"$TESTDIR/printenv.py\" txnclose" | 31 > txnclose.env = sh -c "HG_LOCAL= printenv.py txnclose" |
32 > pushkey= sh "$TESTTMP/bundle2-pushkey-hook.sh" | 32 > pushkey= sh "$TESTTMP/bundle2-pushkey-hook.sh" |
33 > EOF | 33 > EOF |
34 | 34 |
35 The extension requires a repo (currently unused) | 35 The extension requires a repo (currently unused) |
36 | 36 |