--- 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: