Mercurial > hg
comparison tests/test-static-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 | 2306158314e9 |
children | 35b255e474d9 |
comparison
equal
deleted
inserted
replaced
41895:c1017bceb6ec | 41896:94faa2e84094 |
---|---|
71 HG_HOOKTYPE=changegroup | 71 HG_HOOKTYPE=changegroup |
72 HG_NODE=4ac2e3648604439c580c69b09ec9d93a88d93432 | 72 HG_NODE=4ac2e3648604439c580c69b09ec9d93a88d93432 |
73 HG_NODE_LAST=4ac2e3648604439c580c69b09ec9d93a88d93432 | 73 HG_NODE_LAST=4ac2e3648604439c580c69b09ec9d93a88d93432 |
74 HG_SOURCE=pull | 74 HG_SOURCE=pull |
75 HG_TXNID=TXN:$ID$ | 75 HG_TXNID=TXN:$ID$ |
76 HG_TXNNAME=pull | |
77 http://localhost:$HGPORT/remote | |
76 HG_URL=http://localhost:$HGPORT/remote | 78 HG_URL=http://localhost:$HGPORT/remote |
77 | 79 |
78 (run 'hg update' to get a working copy) | 80 (run 'hg update' to get a working copy) |
79 | 81 |
80 trying to push | 82 trying to push |