mercurial/error.py
changeset 18931 3c224e0949de
parent 18855 50c922c1b514
child 21184 28d76afa1568
equal deleted inserted replaced
18930:9dd5a4815c6f 18931:3c224e0949de
    30 class ManifestLookupError(LookupError):
    30 class ManifestLookupError(LookupError):
    31     pass
    31     pass
    32 
    32 
    33 class CommandError(Exception):
    33 class CommandError(Exception):
    34     """Exception raised on errors in parsing the command line."""
    34     """Exception raised on errors in parsing the command line."""
       
    35 
       
    36 class InterventionRequired(Exception):
       
    37     """Exception raised when a command requires human intervention."""
    35 
    38 
    36 class Abort(Exception):
    39 class Abort(Exception):
    37     """Raised if a command needs to print an error and exit."""
    40     """Raised if a command needs to print an error and exit."""
    38     def __init__(self, *args, **kw):
    41     def __init__(self, *args, **kw):
    39         Exception.__init__(self, *args)
    42         Exception.__init__(self, *args)