mercurial/util.py
changeset 2153 635653cd73ab
parent 2117 760339ccc799
child 2165 d821918e3bee
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -16,6 +16,9 @@ from demandload import *
 demandload(globals(), "cStringIO errno popen2 re shutil sys tempfile")
 demandload(globals(), "threading time")
 
+class SignalInterrupt(Exception):
+    """Exception raised on SIGTERM and SIGHUP."""
+
 def pipefilter(s, cmd):
     '''filter string S through command CMD, returning its output'''
     (pout, pin) = popen2.popen2(cmd, -1, 'b')