mercurial/dispatch.py
changeset 7644 182b7114d35a
parent 7643 9a1ea6587557
child 7645 020a896a5292
--- a/mercurial/dispatch.py	Mon Jan 12 11:39:38 2009 -0600
+++ b/mercurial/dispatch.py	Mon Jan 12 11:48:05 2009 -0600
@@ -26,7 +26,7 @@
 
 def _runcatch(ui, args):
     def catchterm(*args):
-        raise util.SignalInterrupt
+        raise error.SignalInterrupt
 
     for name in 'SIGBREAK', 'SIGHUP', 'SIGTERM':
         num = getattr(signal, name, None)
@@ -74,7 +74,7 @@
                (inst.desc or inst.filename, inst.strerror))
     except error.RevlogError, inst:
         ui.warn(_("abort: %s!\n") % inst)
-    except util.SignalInterrupt:
+    except error.SignalInterrupt:
         ui.warn(_("killed!\n"))
     except KeyboardInterrupt:
         try: