Mercurial > hg-stable
changeset 2428:42b8a1ff46cf
honor signals during load of extensions.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Tue, 13 Jun 2006 08:56:23 -0700 |
parents | 150cde10ea21 |
children | 6a8f7c3f7333 |
files | mercurial/commands.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Jun 12 22:09:50 2006 -0700 +++ b/mercurial/commands.py Tue Jun 13 08:56:23 2006 -0700 @@ -3295,6 +3295,8 @@ 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():