mercurial/error.py
changeset 7644 182b7114d35a
parent 7643 9a1ea6587557
child 7646 e62a456b8dc5
equal deleted inserted replaced
7643:9a1ea6587557 7644:182b7114d35a
    54     """Exception raised if command is not in the command table."""
    54     """Exception raised if command is not in the command table."""
    55 
    55 
    56 class AmbiguousCommand(Exception):
    56 class AmbiguousCommand(Exception):
    57     """Exception raised if command shortcut matches more than one command."""
    57     """Exception raised if command shortcut matches more than one command."""
    58 
    58 
       
    59 # derived from KeyboardInterrupt to simplify some breakout code
       
    60 class SignalInterrupt(KeyboardInterrupt):
       
    61     """Exception raised on SIGTERM and SIGHUP."""