Mercurial > hg
comparison tests/test-http-bundle1.t @ 41640:e06d91bc504b
test: use `printenv.py --line` in `test-http-bundle1.t`
This makes the output easier to update and read.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Sat, 09 Feb 2019 01:20:35 +0100 |
parents | 549af2fa089f |
children | 94faa2e84094 |
comparison
equal
deleted
inserted
replaced
41639:f8443db3032e | 41640:e06d91bc504b |
---|---|
149 pull | 149 pull |
150 | 150 |
151 $ cd copy-pull | 151 $ cd copy-pull |
152 $ cat >> .hg/hgrc <<EOF | 152 $ cat >> .hg/hgrc <<EOF |
153 > [hooks] | 153 > [hooks] |
154 > changegroup = sh -c "printenv.py changegroup" | 154 > changegroup = sh -c "printenv.py --line changegroup" |
155 > EOF | 155 > EOF |
156 $ hg pull | 156 $ hg pull |
157 pulling from http://localhost:$HGPORT1/ | 157 pulling from http://localhost:$HGPORT1/ |
158 searching for changes | 158 searching for changes |
159 adding changesets | 159 adding changesets |
160 adding manifests | 160 adding manifests |
161 adding file changes | 161 adding file changes |
162 added 1 changesets with 1 changes to 1 files | 162 added 1 changesets with 1 changes to 1 files |
163 new changesets 5fed3813f7f5 | 163 new changesets 5fed3813f7f5 |
164 changegroup hook: HG_HOOKNAME=changegroup HG_HOOKTYPE=changegroup HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_NODE_LAST=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=http://localhost:$HGPORT1/ | 164 changegroup hook: HG_HOOKNAME=changegroup |
165 HG_HOOKTYPE=changegroup | |
166 HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d | |
167 HG_NODE_LAST=5fed3813f7f5e1824344fdc9cf8f63bb662c292d | |
168 HG_SOURCE=pull | |
169 HG_TXNID=TXN:$ID$ | |
170 HG_URL=http://localhost:$HGPORT1/ | |
171 | |
165 (run 'hg update' to get a working copy) | 172 (run 'hg update' to get a working copy) |
166 $ cd .. | 173 $ cd .. |
167 | 174 |
168 clone from invalid URL | 175 clone from invalid URL |
169 | 176 |