branch | stable |
changeset 48796 | c00d3ce4e94b |
parent 48365 | 67064c238ae7 |
child 48875 | 6000f5b25c9b |
--- a/mercurial/mdiff.py Fri Feb 18 12:55:39 2022 +0100 +++ b/mercurial/mdiff.py Fri Feb 18 14:27:43 2022 +0100 @@ -84,7 +84,7 @@ try: self.context = int(self.context) except ValueError: - raise error.Abort( + raise error.InputError( _(b'diff context lines count must be an integer, not %r') % pycompat.bytestr(self.context) )