errors: use exit code 40 for when a hook fails
A hook can be used for checking inputs, state, configuration, security, etc., so it's unclear which of the existing exit codes to use. Let's instead add one specifically for failed hooks. I picked 40. Differential Revision: https://phab.mercurial-scm.org/D9910
parent
bc3f3b59d0a4
No related branches found
No related tags found
Showing
- mercurial/scmutil.py 2 additions, 0 deletionsmercurial/scmutil.py
- tests/test-bookmarks-pushpull.t 1 addition, 1 deletiontests/test-bookmarks-pushpull.t
- tests/test-bookmarks.t 4 additions, 4 deletionstests/test-bookmarks.t
- tests/test-bundle2-exchange.t 3 additions, 3 deletionstests/test-bundle2-exchange.t
- tests/test-commandserver.t 3 additions, 3 deletionstests/test-commandserver.t
- tests/test-commit-amend.t 2 additions, 2 deletionstests/test-commit-amend.t
- tests/test-dispatch.t 2 additions, 2 deletionstests/test-dispatch.t
- tests/test-histedit-edit.t 2 additions, 2 deletionstests/test-histedit-edit.t
- tests/test-histedit-fold.t 1 addition, 1 deletiontests/test-histedit-fold.t
- tests/test-hook.t 16 additions, 16 deletionstests/test-hook.t
- tests/test-mactext.t 1 addition, 1 deletiontests/test-mactext.t
- tests/test-merge-tools.t 1 addition, 1 deletiontests/test-merge-tools.t
- tests/test-mq-qfold.t 1 addition, 1 deletiontests/test-mq-qfold.t
- tests/test-mq-qnew.t 1 addition, 1 deletiontests/test-mq-qnew.t
- tests/test-mq-qrefresh-replace-log-message.t 4 additions, 4 deletionstests/test-mq-qrefresh-replace-log-message.t
- tests/test-narrow-pull.t 1 addition, 1 deletiontests/test-narrow-pull.t
- tests/test-narrow-widen.t 1 addition, 1 deletiontests/test-narrow-widen.t
- tests/test-phases.t 5 additions, 5 deletionstests/test-phases.t
- tests/test-rebase-interruptions.t 3 additions, 3 deletionstests/test-rebase-interruptions.t
- tests/test-rollback.t 5 additions, 5 deletionstests/test-rollback.t
Loading
Please register or sign in to comment