Mercurial > hg
diff 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 |
line wrap: on
line diff
--- a/tests/test-static-http.t Fri Mar 08 00:00:44 2019 +0100 +++ b/tests/test-static-http.t Sat Feb 09 23:01:30 2019 +0100 @@ -73,6 +73,8 @@ HG_NODE_LAST=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_SOURCE=pull HG_TXNID=TXN:$ID$ + HG_TXNNAME=pull + http://localhost:$HGPORT/remote HG_URL=http://localhost:$HGPORT/remote (run 'hg update' to get a working copy)