HomePhabricator

errors: use exit code 10 for parse errors

Authored by martinvonz.

Description

errors: use exit code 10 for parse errors

Now that ParseErrors raised while reading the config file has been
converted into ConfigErrors, the remaining parse errors should all
be "input errors" (i.e. exit code 10), according to
https://www.mercurial-scm.org/wiki/ErrorCategoriesPlan.

Differential Revision: https://phab.mercurial-scm.org/D9332

Details

Committed
martinvonzMon, Nov 16, 7:00 PM
Differential Revision
D9332: errors: use exit code 10 for parse errors
Parents
rHG9dc1351d0b5f: errors: raise ConfigError on failure to parse config file
Branches
Unknown
Tags
Unknown