diff -r 5b89626c11e9 -r 12966768595a mercurial/commands.py --- 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)