Mercurial > hg
diff tests/test-static-http.t @ 41645:2306158314e9
test: use `printenv.py --line` in `test-static-http.t`
This makes the output easier to update and read.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Sat, 09 Feb 2019 01:24:32 +0100 |
parents | d5357238eda9 |
children | 94faa2e84094 |
line wrap: on
line diff
--- a/tests/test-static-http.t Sat Feb 09 01:24:19 2019 +0100 +++ b/tests/test-static-http.t Sat Feb 09 01:24:32 2019 +0100 @@ -57,7 +57,7 @@ $ cd ../local $ cat >> .hg/hgrc <<EOF > [hooks] - > changegroup = sh -c "printenv.py changegroup" + > changegroup = sh -c "printenv.py --line changegroup" > EOF $ hg pull pulling from static-http://localhost:$HGPORT/remote @@ -67,7 +67,14 @@ adding file changes added 1 changesets with 1 changes to 1 files new changesets 4ac2e3648604 - changegroup hook: HG_HOOKNAME=changegroup HG_HOOKTYPE=changegroup HG_NODE=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_NODE_LAST=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=http://localhost:$HGPORT/remote + changegroup hook: HG_HOOKNAME=changegroup + HG_HOOKTYPE=changegroup + HG_NODE=4ac2e3648604439c580c69b09ec9d93a88d93432 + HG_NODE_LAST=4ac2e3648604439c580c69b09ec9d93a88d93432 + HG_SOURCE=pull + HG_TXNID=TXN:$ID$ + HG_URL=http://localhost:$HGPORT/remote + (run 'hg update' to get a working copy) trying to push