diff tests/test-topic-tutorial.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 7ee15bf011d6
line wrap: on
line diff
--- a/tests/test-topic-tutorial.t	Wed Dec 16 16:23:52 2020 +0100
+++ b/tests/test-topic-tutorial.t	Wed Dec 23 21:34:22 2020 +0800
@@ -1079,7 +1079,7 @@
   searching for changes
   abort: push creates new remote head 70dfa201ed73
   (merge or see 'hg help push' for details about pushing new heads)
-  [255]
+  [20]
 
 
 Even after a rebase, pushing all active topics at the same time would publish
@@ -1099,7 +1099,7 @@
   searching for changes
   abort: push creates new remote head 4cd7c1591a67
   (merge or see 'hg help push' for details about pushing new heads)
-  [255]
+  [20]
 
 Publishing only one of them is allowed (as long as it does not create a new
 branch head as we just saw in the previous case):