Mercurial > hg
comparison tests/test-hook.t @ 49994:3128018e878b
transaction: run abort callback in all cases
Previously, these possibly important callback were "forgotten" when running a
quick rollback.
This is now fixed, as the tests shown.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 14 Feb 2023 20:04:17 +0100 |
parents | f68b0a5d3211 |
children | ab806355fccb |
comparison
equal
deleted
inserted
replaced
49993:2f348babe30d | 49994:3128018e878b |
---|---|
637 HG_HOOKTYPE=prepushkey | 637 HG_HOOKTYPE=prepushkey |
638 HG_KEY=baz | 638 HG_KEY=baz |
639 HG_NAMESPACE=bookmarks | 639 HG_NAMESPACE=bookmarks |
640 HG_NEW=0000000000000000000000000000000000000000 | 640 HG_NEW=0000000000000000000000000000000000000000 |
641 HG_PUSHKEYCOMPAT=1 | 641 HG_PUSHKEYCOMPAT=1 |
642 HG_SOURCE=push | |
643 HG_TXNID=TXN:$ID$ | |
644 HG_TXNNAME=push | |
645 HG_URL=file:$TESTTMP/a | |
646 | |
647 txnabort Python hook: bundle2,changes,source,txnid,txnname,url | |
648 txnabort hook: HG_BUNDLE2=1 | |
649 HG_HOOKNAME=txnabort.1 | |
650 HG_HOOKTYPE=txnabort | |
642 HG_SOURCE=push | 651 HG_SOURCE=push |
643 HG_TXNID=TXN:$ID$ | 652 HG_TXNID=TXN:$ID$ |
644 HG_TXNNAME=push | 653 HG_TXNNAME=push |
645 HG_URL=file:$TESTTMP/a | 654 HG_URL=file:$TESTTMP/a |
646 | 655 |