changeset 2428 | 42b8a1ff46cf |
parent 2422 | 6aa75e77cafe |
child 2458 | 9dd93deef3c9 |
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -3295,6 +3295,8 @@ def dispatch(args): except ImportError: mod = importh(x[0]) external.append(mod) + except (util.SignalInterrupt, KeyboardInterrupt): + raise except Exception, inst: u.warn(_("*** failed to import extension %s: %s\n") % (x[0], inst)) if u.print_exc():