--- a/mercurial/fancyopts.py Fri Nov 06 17:32:23 2020 +0100
+++ b/mercurial/fancyopts.py Thu Nov 12 08:29:55 2020 -0800
@@ -380,7 +380,7 @@
else:
def abort(s):
- raise error.Abort(
+ raise error.InputError(
_(b'invalid value %r for option %s, %s')
% (pycompat.maybebytestr(val), opt, s)
)