Mercurial > hg
changeset 48032:12966768595a
errors: use InputError for bad path arguments to `hg annotate`
Differential Revision: https://phab.mercurial-scm.org/D11498
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 23 Sep 2021 09:42:20 -0700 |
parents | 5b89626c11e9 |
children | 62f325f9b347 |
files | mercurial/commands.py tests/test-annotate.t tests/test-fastannotate-hg.t |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Thu Sep 23 09:40:01 2021 -0700 +++ b/mercurial/commands.py Thu Sep 23 09:42:20 2021 -0700 @@ -526,7 +526,7 @@ ) def bad(x, y): - raise error.Abort(b"%s: %s" % (x, y)) + raise error.InputError(b"%s: %s" % (x, y)) m = scmutil.match(ctx, pats, opts, badfn=bad)