diff tests/test-minitopic.t @ 5682:f0d46ffbf1bb

tests: update exit code in case of push failing because it'd create new heads CORE-TEST-OUTPUT-UPDATE: 9261f6c1d39b
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 23 Dec 2020 21:34:22 +0800
parents 12c53d7122a7
children 73cb6cafc930 caf302fb8f4d
line wrap: on
line diff
--- a/tests/test-minitopic.t	Wed Dec 16 16:23:52 2020 +0100
+++ b/tests/test-minitopic.t	Wed Dec 23 21:34:22 2020 +0800
@@ -87,13 +87,13 @@
   searching for changes
   abort: push creates new remote head 22c9514ed811
   (merge or see 'hg help push' for details about pushing new heads)
-  [255]
+  [20]
   $ hg push disabled
   pushing to http://localhost:$HGPORT2/
   searching for changes
   abort: push creates new remote head 22c9514ed811
   (merge or see 'hg help push' for details about pushing new heads)
-  [255]
+  [20]
 
   $ hg debugdownload http://localhost:$HGPORT/?cmd=branchmap | sort
   default 0ab6d544d0efd629fda056601cfe95e73d1af210
@@ -153,7 +153,7 @@
   searching for changes
   abort: push creates new remote head f31af349535e
   (merge or see 'hg help push' for details about pushing new heads)
-  [255]
+  [20]
   $ hg push enabled
   pushing to http://localhost:$HGPORT/
   searching for changes
@@ -222,7 +222,7 @@
   searching for changes
   abort: push creates new remote head 82c5842e0472 on branch 'default:topic_A'
   (merge or see 'hg help push' for details about pushing new heads)
-  [255]
+  [20]
   $ hg push disabled
   pushing to http://localhost:$HGPORT2/
   searching for changes