tests/binfile.bin
author Martin von Zweigbergk <martinvonz@google.com>
Tue, 18 May 2021 22:07:16 -0700
changeset 47302 d9c71bbe20f7
parent 3368 751df21dad72
permissions -rw-r--r--
errors: make InterventionRequired subclass Abort The docstring for `Abort` says that it's for errors raised by commands and `InterventionRequired` is definitely something raised by commands, so it seems that it should be an `Abort`. This patch makes it so. It adds a `coarse_exit_code` (in addition to the already existing `detailed_exit_code`) to `Abort` to achieve that, since `InterventionRequired` should result in a special exit code even when the `ui.detailed-exit-code` config is not set. Differential Revision: https://phab.mercurial-scm.org/D10737

(binary:application/octet-stream)