diff tests/test-push-checkheads-unpushed-D3.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 fc60328270ac
line wrap: on
line diff
--- a/tests/test-push-checkheads-unpushed-D3.t	Wed Dec 16 16:23:52 2020 +0100
+++ b/tests/test-push-checkheads-unpushed-D3.t	Wed Dec 23 21:34:22 2020 +0800
@@ -93,13 +93,13 @@
   searching for changes
   abort: push creates new remote head f6082bc4ffef
   (merge or see 'hg help push' for details about pushing new heads)
-  [255]
+  [20]
   $ hg push --rev 'desc(B1)'
   pushing to $TESTTMP/D3/server (glob)
   searching for changes
   abort: push creates new remote head 25c56d33e4c4
   (merge or see 'hg help push' for details about pushing new heads)
-  [255]
+  [20]
 
 Extra testing
 -------------
@@ -111,6 +111,6 @@
   searching for changes
   abort: push creates new remote head 25c56d33e4c4
   (merge or see 'hg help push' for details about pushing new heads)
-  [255]
+  [20]
 
   $ cd ../..