comparison 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
comparison
equal deleted inserted replaced
41644:9a8d41fa919e 41645:2306158314e9
55 55
56 $ rm .hg/cache/* 56 $ rm .hg/cache/*
57 $ cd ../local 57 $ cd ../local
58 $ cat >> .hg/hgrc <<EOF 58 $ cat >> .hg/hgrc <<EOF
59 > [hooks] 59 > [hooks]
60 > changegroup = sh -c "printenv.py changegroup" 60 > changegroup = sh -c "printenv.py --line changegroup"
61 > EOF 61 > EOF
62 $ hg pull 62 $ hg pull
63 pulling from static-http://localhost:$HGPORT/remote 63 pulling from static-http://localhost:$HGPORT/remote
64 searching for changes 64 searching for changes
65 adding changesets 65 adding changesets
66 adding manifests 66 adding manifests
67 adding file changes 67 adding file changes
68 added 1 changesets with 1 changes to 1 files 68 added 1 changesets with 1 changes to 1 files
69 new changesets 4ac2e3648604 69 new changesets 4ac2e3648604
70 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 70 changegroup hook: HG_HOOKNAME=changegroup
71 HG_HOOKTYPE=changegroup
72 HG_NODE=4ac2e3648604439c580c69b09ec9d93a88d93432
73 HG_NODE_LAST=4ac2e3648604439c580c69b09ec9d93a88d93432
74 HG_SOURCE=pull
75 HG_TXNID=TXN:$ID$
76 HG_URL=http://localhost:$HGPORT/remote
77
71 (run 'hg update' to get a working copy) 78 (run 'hg update' to get a working copy)
72 79
73 trying to push 80 trying to push
74 81
75 $ hg update 82 $ hg update