changeset 1483 | a4ba63e04134 |
parent 1475 | d791c335fb7b |
child 1490 | c3ffdb2c4091 |
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2449,7 +2449,12 @@ def dispatch(args): except AttributeError: pass - u = ui.ui() + try: + u = ui.ui() + except util.Abort, inst: + sys.stderr.write(_("abort: %s\n") % inst) + sys.exit(1) + external = [] for x in u.extensions(): def on_exception(Exception, inst):