Mercurial > hg
comparison tests/test-http.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 | 349c8879becd |
children | d7304434390f |
comparison
equal
deleted
inserted
replaced
41895:c1017bceb6ec | 41896:94faa2e84094 |
---|---|
154 HG_HOOKTYPE=changegroup | 154 HG_HOOKTYPE=changegroup |
155 HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d | 155 HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d |
156 HG_NODE_LAST=5fed3813f7f5e1824344fdc9cf8f63bb662c292d | 156 HG_NODE_LAST=5fed3813f7f5e1824344fdc9cf8f63bb662c292d |
157 HG_SOURCE=pull | 157 HG_SOURCE=pull |
158 HG_TXNID=TXN:$ID$ | 158 HG_TXNID=TXN:$ID$ |
159 HG_TXNNAME=pull | |
160 http://localhost:$HGPORT1/ | |
159 HG_URL=http://localhost:$HGPORT1/ | 161 HG_URL=http://localhost:$HGPORT1/ |
160 | 162 |
161 (run 'hg update' to get a working copy) | 163 (run 'hg update' to get a working copy) |
162 $ cd .. | 164 $ cd .. |
163 | 165 |