Mercurial > hg
comparison tests/test-http.t @ 41036:73da729ccfef
test: introduce a new flag to display env variable line per line
It's easier to conditionalize some of the environment variables per Mercurial
version once there is only one value per line.
Differential Revision: https://phab.mercurial-scm.org/D5453
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 19 Dec 2018 15:45:29 +0100 |
parents | 69d4c8c5c25e |
children | 28a4fb793ba1 |
comparison
equal
deleted
inserted
replaced
41035:15f78383d3c8 | 41036:73da729ccfef |
---|---|
138 pull | 138 pull |
139 | 139 |
140 $ cd copy-pull | 140 $ cd copy-pull |
141 $ cat >> .hg/hgrc <<EOF | 141 $ cat >> .hg/hgrc <<EOF |
142 > [hooks] | 142 > [hooks] |
143 > changegroup = sh -c "printenv.py changegroup" | 143 > changegroup = sh -c "printenv.py --line changegroup" |
144 > EOF | 144 > EOF |
145 $ hg pull | 145 $ hg pull |
146 pulling from http://localhost:$HGPORT1/ | 146 pulling from http://localhost:$HGPORT1/ |
147 searching for changes | 147 searching for changes |
148 adding changesets | 148 adding changesets |
149 adding manifests | 149 adding manifests |
150 adding file changes | 150 adding file changes |
151 added 1 changesets with 1 changes to 1 files | 151 added 1 changesets with 1 changes to 1 files |
152 new changesets 5fed3813f7f5 | 152 new changesets 5fed3813f7f5 |
153 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/ | 153 changegroup hook: HG_HOOKNAME=changegroup |
154 HG_HOOKTYPE=changegroup | |
155 HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d | |
156 HG_NODE_LAST=5fed3813f7f5e1824344fdc9cf8f63bb662c292d | |
157 HG_SOURCE=pull | |
158 HG_TXNID=TXN:$ID$ | |
159 HG_URL=http://localhost:$HGPORT1/ | |
160 | |
154 (run 'hg update' to get a working copy) | 161 (run 'hg update' to get a working copy) |
155 $ cd .. | 162 $ cd .. |
156 | 163 |
157 clone from invalid URL | 164 clone from invalid URL |
158 | 165 |