mercurial/fancyopts.py
changeset 45837 2eb8ad899fa6
parent 44452 9d2b2df2c2ba
child 46819 d4ba4d51f85f
--- 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)
                 )