mercurial/commands.py
changeset 2428 42b8a1ff46cf
parent 2422 6aa75e77cafe
child 2458 9dd93deef3c9
equal deleted inserted replaced
2427:150cde10ea21 2428:42b8a1ff46cf
  3293                 try:
  3293                 try:
  3294                     mod = importh("hgext." + x[0])
  3294                     mod = importh("hgext." + x[0])
  3295                 except ImportError:
  3295                 except ImportError:
  3296                     mod = importh(x[0])
  3296                     mod = importh(x[0])
  3297             external.append(mod)
  3297             external.append(mod)
       
  3298         except (util.SignalInterrupt, KeyboardInterrupt):
       
  3299             raise
  3298         except Exception, inst:
  3300         except Exception, inst:
  3299             u.warn(_("*** failed to import extension %s: %s\n") % (x[0], inst))
  3301             u.warn(_("*** failed to import extension %s: %s\n") % (x[0], inst))
  3300             if u.print_exc():
  3302             if u.print_exc():
  3301                 return 1
  3303                 return 1
  3302 
  3304