changeset 45859 | 527ce85c2e60 |
parent 45858 | ebee234d952a |
child 45860 | bff719525815 |
--- a/mercurial/scmutil.py Thu Oct 22 13:31:34 2020 -0700 +++ b/mercurial/scmutil.py Mon Oct 12 12:44:18 2020 -0700 @@ -224,6 +224,8 @@ except error.Abort as inst: if isinstance(inst, error.InputError): detailed_exit_code = 10 + elif isinstance(inst, error.StateError): + detailed_exit_code = 20 ui.error(_(b"abort: %s\n") % inst.message) if inst.hint: ui.error(_(b"(%s)\n") % inst.hint)