Command errors (unknown or ambiguous commands, or bad command
arguments or options) are handled in the dispatch module. Most other
errors are handled in the scmutil module. This patch therefore has
to duplicate a little bit of code from the scmutil module. It's just
a few lines, however, so it seems fine to me. It's a pretty common
category of errors, so it's important to have them respect
ui.detailed-exit-code.
Details
Details
- Reviewers
durin42 pulkit - Group Reviewers
hg-reviewers - Commits
- rHG9c9e0b4b2ca7: error: use detailed exit code 10 for command errors
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.