Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/error.py @ 27628:707d66afce21
error: make InterventionRequired take a hint
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 23 Dec 2015 08:52:52 +0000 |
parents | 1c1216182dc1 |
children | 13bb8de97f87 |
comparison
equal
deleted
inserted
replaced
27627:dcbba68e076f | 27628:707d66afce21 |
---|---|
48 pass | 48 pass |
49 | 49 |
50 class CommandError(Exception): | 50 class CommandError(Exception): |
51 """Exception raised on errors in parsing the command line.""" | 51 """Exception raised on errors in parsing the command line.""" |
52 | 52 |
53 class InterventionRequired(Exception): | 53 class InterventionRequired(HintException): |
54 """Exception raised when a command requires human intervention.""" | 54 """Exception raised when a command requires human intervention.""" |
55 | 55 |
56 class Abort(HintException): | 56 class Abort(HintException): |
57 """Raised if a command needs to print an error and exit.""" | 57 """Raised if a command needs to print an error and exit.""" |
58 | 58 |