author | Vadim Gelfer <vadim.gelfer@gmail.com> |
Tue, 13 Jun 2006 08:56:23 -0700 | |
changeset 2428 | 42b8a1ff46cf |
parent 2427 | 150cde10ea21 |
child 2429 | 6a8f7c3f7333 |
--- 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():