Callbacks registered with 'atexit' are sometimes not called (like when a
process is killed by the SIGTERM signal). Therefore, this commit replaces it
with 'ui.atexit' which ensures that the callbacks are always called. This also
makes the test compatible with chg.
Details
Details
- Reviewers
quark - Group Reviewers
hg-reviewers - Commits
- rHG30ae924a9e00: test-push-race: use 'ui.atexit' instead of python's 'atexit'
Ran the test 'test-push-race.t' with and without the '--chg' option.
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage