diff -r 7ecf4a082c5f -r 6381fa7bfa53 mercurial/error.py --- a/mercurial/error.py Thu Jul 15 14:40:17 2010 +0200 +++ b/mercurial/error.py Thu Jul 15 14:41:22 2010 +0200 @@ -32,6 +32,9 @@ class Abort(Exception): """Raised if a command needs to print an error and exit.""" + def __init__(self, *args, **kw): + Exception.__init__(self, *args) + self.hint = kw.get('hint') class ConfigError(Abort): 'Exception raised when parsing config files'