diff tests/test-bundle.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 92055d539e49
children 35e29a3aa441
line wrap: on
line diff
--- a/tests/test-bundle.t	Fri Mar 08 00:00:44 2019 +0100
+++ b/tests/test-bundle.t	Sat Feb 09 23:01:30 2019 +0100
@@ -240,6 +240,8 @@
   HG_NODE_LAST=aa35859c02ea8bd48da5da68cd2740ac71afcbaf
   HG_SOURCE=pull
   HG_TXNID=TXN:$ID$
+  HG_TXNNAME=pull
+  bundle:../full.hg
   HG_URL=bundle:../full.hg (no-msys !)
   HG_URL=bundle;../full.hg (msys !)
   
@@ -272,6 +274,8 @@
   HG_NODE_LAST=aa35859c02ea8bd48da5da68cd2740ac71afcbaf
   HG_SOURCE=pull
   HG_TXNID=TXN:$ID$
+  HG_TXNNAME=pull
+  bundle:empty+full.hg
   HG_URL=bundle:empty+full.hg
   
   (run 'hg heads' to see heads, 'hg merge' to merge)