Mercurial > public > mercurial-scm > hg-stable
diff tests/test-histedit-edit.t @ 45910:fc4fb2f17dd4
errors: use exit code 10 for parse errors
Now that `ParseError`s raised while reading the config file has been
converted into `ConfigError`s, 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
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 16 Nov 2020 16:00:50 -0800 |
parents | 527ce85c2e60 |
children | 3f82a915ab2a |
line wrap: on
line diff
--- a/tests/test-histedit-edit.t Fri Nov 20 14:43:21 2020 -0800 +++ b/tests/test-histedit-edit.t Mon Nov 16 16:00:50 2020 -0800 @@ -463,7 +463,7 @@ $ HGEDITOR="sh ../edit.sh" hg histedit 2 warning: histedit rules saved to: .hg/histedit-last-edit.txt hg: parse error: first changeset cannot use verb "fold" - [255] + [10] $ cat .hg/histedit-last-edit.txt fold 0012be4a27ea 2 extend a