mercurial/scmutil.py
changeset 46417 768056549737
parent 46242 cb12658bf0e1
child 46672 aa2e38147e8b
--- a/mercurial/scmutil.py	Fri Jan 29 12:50:10 2021 -0500
+++ b/mercurial/scmutil.py	Fri Jan 29 12:16:55 2021 -0800
@@ -229,6 +229,8 @@
             detailed_exit_code = 20
         elif isinstance(inst, error.ConfigError):
             detailed_exit_code = 30
+        elif isinstance(inst, error.HookAbort):
+            detailed_exit_code = 40
         elif isinstance(inst, error.SecurityError):
             detailed_exit_code = 150
         elif isinstance(inst, error.CanceledError):