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).
Showing
- mercurial/localrepo.py 7 additions, 7 deletionsmercurial/localrepo.py
- tests/test-bundle.t 4 additions, 0 deletionstests/test-bundle.t
- tests/test-bundle2-multiple-changegroups.t 42 additions, 0 deletionstests/test-bundle2-multiple-changegroups.t
- tests/test-hook.t 16 additions, 0 deletionstests/test-hook.t
- tests/test-http-bundle1.t 2 additions, 0 deletionstests/test-http-bundle1.t
- tests/test-http.t 2 additions, 0 deletionstests/test-http.t
- tests/test-https.t 2 additions, 0 deletionstests/test-https.t
- tests/test-push-http.t 15 additions, 0 deletionstests/test-push-http.t
- tests/test-ssh-bundle1.t 6 additions, 0 deletionstests/test-ssh-bundle1.t
- tests/test-ssh.t 4 additions, 0 deletionstests/test-ssh.t
- tests/test-static-http.t 2 additions, 0 deletionstests/test-static-http.t
Loading
Please register or sign in to comment