mercurial/dispatch.py
changeset 45927 35ab6e39f482
parent 45926 8939062597f0
child 45929 be25b66f86ab
--- a/mercurial/dispatch.py	Mon Nov 23 10:42:03 2020 -0800
+++ b/mercurial/dispatch.py	Mon Nov 23 12:27:22 2020 -0800
@@ -694,7 +694,7 @@
                     hint = _(b"'%s' is provided by '%s' extension") % (cmd, ext)
                 except error.UnknownCommand:
                     pass
-            raise error.Abort(self.badalias, hint=hint)
+            raise error.ConfigError(self.badalias, hint=hint)
         if self.shadows:
             ui.debug(
                 b"alias '%s' shadows command '%s'\n" % (self.name, self.cmdname)