# HG changeset patch # User Augie Fackler # Date 1360355163 21600 # Node ID 3c224e0949de4743b4b5accce713dd93ab6cfc88 # Parent 9dd5a4815c6f0d1dad04e9d944b6e6b7715c474d error: introduce new InterventionRequired exception Future changes will use this type instead of util.Abort for signalling the user that intervention is required, as in some rebase and histedit aborts. diff -r 9dd5a4815c6f -r 3c224e0949de mercurial/error.py --- a/mercurial/error.py Fri Apr 12 19:48:07 2013 -0700 +++ b/mercurial/error.py Fri Feb 08 14:26:03 2013 -0600 @@ -33,6 +33,9 @@ class CommandError(Exception): """Exception raised on errors in parsing the command line.""" +class InterventionRequired(Exception): + """Exception raised when a command requires human intervention.""" + class Abort(Exception): """Raised if a command needs to print an error and exit.""" def __init__(self, *args, **kw):