changeset 45827 | 8d72e29ad1e0 |
parent 45826 | 21733e8c924f |
child 45828 | e0dbfbd4062c |
--- a/mercurial/scmutil.py Wed Oct 21 19:00:16 2020 -0700 +++ b/mercurial/scmutil.py Tue Oct 06 22:36:15 2020 -0700 @@ -219,6 +219,8 @@ except error.WdirUnsupported: ui.error(_(b"abort: working directory revision cannot be specified\n")) except error.Abort as inst: + if isinstance(inst, error.InputError): + detailed_exit_code = 10 ui.error(_(b"abort: %s\n") % inst.message) if inst.hint: ui.error(_(b"(%s)\n") % inst.hint)