diff mercurial/dispatch.py @ 48255:8c34edb1ad10

backout: backed out changeset 6edc8800dbc3 Same as the previous changeset. Differential Revision: https://phab.mercurial-scm.org/D11693
author Rapha?l Gom?s <rgomes@octobus.net>
date Tue, 19 Oct 2021 19:04:11 +0200
parents 6edc8800dbc3
children 56d037d07395
line wrap: on
line diff
--- a/mercurial/dispatch.py	Mon Oct 18 10:56:54 2021 +0200
+++ b/mercurial/dispatch.py	Tue Oct 19 19:04:11 2021 +0200
@@ -316,10 +316,7 @@
             except IOError as inst:
                 if inst.errno != errno.EPIPE:
                     raise
-            if req.ui.configbool(b'ui', b'detailed-exit-code'):
-                ret = 250
-            else:
-                ret = -1
+            ret = -1
         finally:
             duration = util.timer() - starttime
             try: