# HG changeset patch # User Raphaël Gomès # Date 2021-10-19 17:04:11 # Node ID 8c34edb1ad105dd433b0bb28deee39ce8882f748 # Parent b874e8d81a989159f47701953df1ac87710f16a6 backout: backed out changeset 6edc8800dbc3 Same as the previous changeset. Differential Revision: https://phab.mercurial-scm.org/D11693 diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py --- a/mercurial/dispatch.py +++ b/mercurial/dispatch.py @@ -316,10 +316,7 @@ def _rundispatch(req): 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: diff --git a/tests/test-chg.t b/tests/test-chg.t --- a/tests/test-chg.t +++ b/tests/test-chg.t @@ -188,12 +188,12 @@ in this test. $ chg bulkwrite --pager=on --color no --config ui.formatted=True paged! 'going to write massive data\n' killed! (?) - [250] + [255] $ chg bulkwrite --pager=on --color no --config ui.formatted=True paged! 'going to write massive data\n' killed! (?) - [250] + [255] $ cd .. diff --git a/tests/test-commandserver.t b/tests/test-commandserver.t --- a/tests/test-commandserver.t +++ b/tests/test-commandserver.t @@ -792,7 +792,7 @@ option to not shutdown on SIGINT: *** runcommand debugsuicide interrupted! killed! - [250] + [255] #endif diff --git a/tests/test-nointerrupt.t b/tests/test-nointerrupt.t --- a/tests/test-nointerrupt.t +++ b/tests/test-nointerrupt.t @@ -66,7 +66,7 @@ Test ctrl-c $ sh -c "../send-signal.sh INT" & $ hg wait-signal interrupted! - [250] + [255] $ cat >> $HGRCPATH << EOF > [experimental] @@ -77,7 +77,7 @@ Test ctrl-c $ sh -c "../send-signal.sh INT" & $ hg wait-signal interrupted! - [250] + [255] $ cat >> $HGRCPATH << EOF > [experimental] @@ -91,4 +91,4 @@ Test ctrl-c press ^C again to terminate immediately (dangerous) end of unsafe operation interrupted! - [250] + [255]