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