Mercurial > hg
comparison tests/test-http-bundle1.t @ 41896:94faa2e84094
transaction: include txnname in the hookargs dictionary
There is no reason to not include the txnname alongside the txnid in all case.
The python hooks already have them, so aligning the the shell hooks seems it
could be useful in the future.
(I don't have a strong opinion about this, we can also decide to never align the
python and shell hooks and this and I'll drop this patch).
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 09 Feb 2019 23:01:30 +0100 |
parents | e06d91bc504b |
children | ebee234d952a |
comparison
equal
deleted
inserted
replaced
41895:c1017bceb6ec | 41896:94faa2e84094 |
---|---|
165 HG_HOOKTYPE=changegroup | 165 HG_HOOKTYPE=changegroup |
166 HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d | 166 HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d |
167 HG_NODE_LAST=5fed3813f7f5e1824344fdc9cf8f63bb662c292d | 167 HG_NODE_LAST=5fed3813f7f5e1824344fdc9cf8f63bb662c292d |
168 HG_SOURCE=pull | 168 HG_SOURCE=pull |
169 HG_TXNID=TXN:$ID$ | 169 HG_TXNID=TXN:$ID$ |
170 HG_TXNNAME=pull | |
171 http://localhost:$HGPORT1/ | |
170 HG_URL=http://localhost:$HGPORT1/ | 172 HG_URL=http://localhost:$HGPORT1/ |
171 | 173 |
172 (run 'hg update' to get a working copy) | 174 (run 'hg update' to get a working copy) |
173 $ cd .. | 175 $ cd .. |
174 | 176 |