backout: backed out changeset 6edc8800dbc3
authorRaphaël Gomès <rgomes@octobus.net>
Tue, 19 Oct 2021 19:04:11 +0200
changeset 48255 8c34edb1ad10
parent 48254 b874e8d81a98
child 48256 56d037d07395
backout: backed out changeset 6edc8800dbc3 Same as the previous changeset. Differential Revision: https://phab.mercurial-scm.org/D11693
mercurial/dispatch.py
tests/test-chg.t
tests/test-commandserver.t
tests/test-nointerrupt.t
--- 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:
--- a/tests/test-chg.t	Mon Oct 18 10:56:54 2021 +0200
+++ b/tests/test-chg.t	Tue Oct 19 19:04:11 2021 +0200
@@ -188,12 +188,12 @@
   $ 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 ..
 
--- a/tests/test-commandserver.t	Mon Oct 18 10:56:54 2021 +0200
+++ b/tests/test-commandserver.t	Tue Oct 19 19:04:11 2021 +0200
@@ -792,7 +792,7 @@
   *** runcommand debugsuicide
   interrupted!
   killed!
-   [250]
+   [255]
 
 #endif
 
--- a/tests/test-nointerrupt.t	Mon Oct 18 10:56:54 2021 +0200
+++ b/tests/test-nointerrupt.t	Tue Oct 19 19:04:11 2021 +0200
@@ -66,7 +66,7 @@
   $ sh -c "../send-signal.sh INT" &
   $ hg wait-signal
   interrupted!
-  [250]
+  [255]
 
   $ cat >> $HGRCPATH << EOF
   > [experimental]
@@ -77,7 +77,7 @@
   $ sh -c "../send-signal.sh INT" &
   $ hg wait-signal
   interrupted!
-  [250]
+  [255]
 
   $ cat >> $HGRCPATH << EOF
   > [experimental]
@@ -91,4 +91,4 @@
   press ^C again to terminate immediately (dangerous)
   end of unsafe operation
   interrupted!
-  [250]
+  [255]