changeset 5939:0511ad9f0862 mercurial-5.6

test-compat: merge mercurial-5.7 into mercurial-5.6
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 27 May 2021 23:09:47 +0800
parents 34cd08a46b6d (diff) 23fc429683ce (current diff)
children db70cc02a7c4 43c4db536990
files tests/test-discovery-obshashrange.t tests/test-extension-isolation.t tests/test-prev-next.t
diffstat 77 files changed, 254 insertions(+), 272 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-amend-patch.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-amend-patch.t	Thu May 27 23:09:47 2021 +0800
@@ -666,7 +666,7 @@
   $ hg add bar
   $ HGEDITOR=cat hg amend --patch
   abort: uncommitted changes
-  [20]
+  [255]
 
   $ hg revert --all
   forgetting bar
--- a/tests/test-discovery-obshashrange.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-discovery-obshashrange.t	Thu May 27 23:09:47 2021 +0800
@@ -150,7 +150,6 @@
   cccccccccccccccccccccccccccccccccccccccc bebd167eb94d257ace0e814aeb98e6972ed2970d 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   $ rm ../server/.hg/blackbox.log
   $ hg blackbox
-  * @0000000000000000000000000000000000000000 (*)> 0/0 cache hits/lookups in *.???? seconds (glob)
   * @0000000000000000000000000000000000000000 (*)> clone *ssh://user@dummy/server* client exited 0 after *.?? seconds (glob)
   * @0000000000000000000000000000000000000000 (*)> pull --rev 4 (glob)
   * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (5r, 3o) (glob)
--- a/tests/test-evolve-abort-orphan.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-abort-orphan.t	Thu May 27 23:09:47 2021 +0800
@@ -64,7 +64,7 @@
 #else
   $ hg abort
   abort: no operation in progress
-  [20]
+  [255]
 #endif
 
 Testing with wrong combination of flags
@@ -111,7 +111,7 @@
   warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg parents
   changeset:   5:e93a9161a274
@@ -160,7 +160,7 @@
   warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
   $ echo foo > d
   $ hg resolve -m
   (no more unresolved files)
@@ -190,7 +190,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
 testing that interrupted evolve shows up in morestatus
   $ hg status -v
@@ -304,7 +304,7 @@
   warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg glog
   o  9:7f8e8bd9f0b6 added c
@@ -371,7 +371,7 @@
   warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
   $ hg glog
   o  9:7f8e8bd9f0b6 added c
   |   () draft
@@ -451,7 +451,7 @@
   warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg glog
   o  12:1c476940790a added d
@@ -529,7 +529,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg glog
   @  5:c1f4718020e3 added b
@@ -578,7 +578,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg abort
   evolve aborted
--- a/tests/test-evolve-abort-phasediv.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-abort-phasediv.t	Thu May 27 23:09:47 2021 +0800
@@ -105,7 +105,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
 testing that interrupted evolve shows up in morestatus
   $ hg status -v
@@ -224,7 +224,7 @@
   warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg abort
   1 new phase-divergent changesets
@@ -294,7 +294,7 @@
   warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo watwat > c
   $ hg resolve -m
@@ -310,7 +310,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg abort
   1 new phase-divergent changesets
--- a/tests/test-evolve-content-divergent-basic.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-content-divergent-basic.t	Thu May 27 23:09:47 2021 +0800
@@ -336,7 +336,7 @@
   0 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo foobar > d
   $ hg resolve -m
@@ -396,7 +396,7 @@
   0 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo watbar > d
   $ hg resolve -m
@@ -607,7 +607,7 @@
   0 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ cat > a <<EOF
   > jungle
--- a/tests/test-evolve-content-divergent-case-A3.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-content-divergent-case-A3.t	Thu May 27 23:09:47 2021 +0800
@@ -79,7 +79,7 @@
   $ cd ../local
   $ hg pull -qu
   $ hg rebase -r 'desc(C)' -d 'desc(B)'
-  rebasing 3:928c8849ec01 tip "C"
+  rebasing 3:928c8849ec01 "C" (tip)
 
   $ cd ../other
   $ hg pull -qu
--- a/tests/test-evolve-content-divergent-case-A4.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-content-divergent-case-A4.t	Thu May 27 23:09:47 2021 +0800
@@ -84,12 +84,12 @@
   $ cd ../local
   $ hg pull -qu
   $ hg rebase -r 'desc(D)' -d 'desc(C)'
-  rebasing 4:6a418860e87b tip "D"
+  rebasing 4:6a418860e87b "D" (tip)
 
   $ cd ../other
   $ hg pull -qu
   $ hg rebase -r 'desc(D)' -d 'desc(B)'
-  rebasing 4:6a418860e87b tip "D"
+  rebasing 4:6a418860e87b "D" (tip)
   $ hg push -q
 
   $ cd ../local
--- a/tests/test-evolve-content-divergent-case-A5.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-content-divergent-case-A5.t	Thu May 27 23:09:47 2021 +0800
@@ -73,7 +73,7 @@
   $ cd ../local
   $ hg pull -qu
   $ hg rebase -r 'desc(C)' -d 'desc(A)'
-  rebasing 3:d90aa47aa5d3 tip "C"
+  rebasing 3:d90aa47aa5d3 "C" (tip)
 
   $ cd ../other
   $ hg pull -qu
--- a/tests/test-evolve-content-divergent-interrupted.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-content-divergent-interrupted.t	Thu May 27 23:09:47 2021 +0800
@@ -90,7 +90,7 @@
   0 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg status -v
   M d
@@ -204,7 +204,7 @@
   0 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg evolve --abort
   2 new orphan changesets
@@ -279,7 +279,7 @@
   $ hg ci -m "added d"
 
   $ hg rebase -r . -d .^^^ --config extensions.rebase=
-  rebasing 5:f8b09dd867e5 tip "added d"
+  rebasing 5:f8b09dd867e5 "added d" (tip)
   $ echo bar > c
   $ hg add c
   $ hg amend
@@ -318,7 +318,7 @@
   warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg evolve --abort
   evolve aborted
@@ -371,7 +371,7 @@
   warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
 this test case is mainly to test that we hit merge conlict while merging the
 two divergent csets, so resolving this one which happened during relocation
@@ -389,7 +389,7 @@
   0 files updated, 0 files merged, 0 files removed, 2 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg evolve --abort
   evolve aborted
@@ -481,7 +481,7 @@
   0 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg evolve --stop
   stopped the interrupted evolve
@@ -508,7 +508,7 @@
 ---------------------------------------------------------------------------
 
   $ hg rebase -r . -d .^^^ --config extensions.rebase=
-  rebasing 6:9c1631e352d9 tip "added d"
+  rebasing 6:9c1631e352d9 "added d" (tip)
 
   $ hg glog
   @  7:517d4375cb72 added d
@@ -534,7 +534,7 @@
   0 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg evolve --stop
   stopped the interrupted evolve
@@ -593,7 +593,7 @@
   warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg diff
   diff -r c7586e2a9264 a
--- a/tests/test-evolve-content-divergent-relocation.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-content-divergent-relocation.t	Thu May 27 23:09:47 2021 +0800
@@ -337,7 +337,7 @@
   0 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo watbar > y
   $ hg resolve -m
@@ -491,7 +491,7 @@
   warning: conflicts while merging y! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg diff
   diff -r 26dd4974d99f y
@@ -521,7 +521,7 @@
   1 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg diff
   diff -r 5049972c0e21 y
@@ -654,7 +654,7 @@
 
 The first side of the divergence get rebased on top of upstream.
   $ hg rebase -r . -d 'desc("upstream")'
-  rebasing 2:898ddd4443b3 tip "divergent"
+  rebasing 2:898ddd4443b3 "divergent" (tip)
   $ hg --hidden co 2 -q
   updated to hidden changeset 898ddd4443b3
   (hidden revision '898ddd4443b3' was rewritten as: befae6138569)
--- a/tests/test-evolve-content-divergent-stack.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-content-divergent-stack.t	Thu May 27 23:09:47 2021 +0800
@@ -272,7 +272,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
   $ echo c > c
   $ hg res -m
   (no more unresolved files)
@@ -285,7 +285,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
   $ hg diff
   diff -r 5907cbc074a0 c
   --- a/c	Thu Jan 01 00:00:00 1970 +0000
@@ -542,7 +542,7 @@
   warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo b > b
   $ hg res -m
@@ -555,7 +555,7 @@
   warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo b > b
   $ hg res -m
@@ -643,7 +643,7 @@
   4 new orphan changesets
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
 As now we have interrupted evolution of stack of content-divergent cset (when
 relocation of "divergent" also included) let's test --abort and --stop 
@@ -744,7 +744,7 @@
   4 new orphan changesets
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg evolve --stop
   2 new orphan changesets
@@ -864,7 +864,7 @@
   0 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo foo > b
   $ hg res -m
--- a/tests/test-evolve-continue.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-continue.t	Thu May 27 23:09:47 2021 +0800
@@ -70,7 +70,7 @@
   warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo foo > d
   $ hg resolve -m
@@ -132,7 +132,7 @@
   warning: conflicts while merging e! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo bar > e
   $ hg resolve -m
@@ -174,7 +174,7 @@
   warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo foo > b
   $ hg resolve -m
@@ -261,7 +261,7 @@
   warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo foo > f
   $ hg resolve -m
@@ -278,7 +278,7 @@
   warning: conflicts while merging h! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo foo > h
   $ hg resolve -m
@@ -327,7 +327,7 @@
   warning: conflicts while merging g! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo foo > g
   $ hg resolve -m
@@ -378,7 +378,7 @@
   warning: conflicts while merging g! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
   $ echo foo > g
   $ hg resolve -m
   (no more unresolved files)
@@ -447,7 +447,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
 Status mentions file 'b' (copied from 'a') here, even though it wasn't
 affected by the evolved changeset (nor was 'a')
@@ -477,7 +477,7 @@
   warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
   $ hg st -C
   M a
   A d
--- a/tests/test-evolve-effectflags.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-effectflags.t	Thu May 27 23:09:47 2021 +0800
@@ -128,7 +128,7 @@
   $ mkcommit C0
   $ mkcommit D0
   $ hg rebase -r . -d 'desc(B0)'
-  rebasing 10:c85eff83a034 tip "D0"
+  rebasing 10:c85eff83a034 "D0" (tip)
 
 check result
 
--- a/tests/test-evolve-inmemory.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-inmemory.t	Thu May 27 23:09:47 2021 +0800
@@ -70,7 +70,7 @@
   warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
   $ hg glog
   @  6:52da76e91abb draft tip
   |  C
--- a/tests/test-evolve-issue5966.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-issue5966.t	Thu May 27 23:09:47 2021 +0800
@@ -59,7 +59,7 @@
   atop:[4] apricot
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
   $ hg evolve --list
   34a690fcf6ab: banana
     orphan: 7f59f18ca4a9 (obsolete parent)
@@ -73,13 +73,13 @@
   U a
   $ hg evolve --continue
   abort: unresolved merge conflicts (see 'hg help resolve')
-  [20]
+  [255]
 
 (even when ran twice)
 
   $ hg evolve --continue
   abort: unresolved merge conflicts (see 'hg help resolve')
-  [20]
+  [255]
 
   $ cat a
   apricot
--- a/tests/test-evolve-issue5967.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-issue5967.t	Thu May 27 23:09:47 2021 +0800
@@ -43,7 +43,7 @@
   warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo apricot > a
   $ hg resolve --mark a
--- a/tests/test-evolve-issue6097.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-issue6097.t	Thu May 27 23:09:47 2021 +0800
@@ -29,7 +29,7 @@
 Now rebase the successor of 0 on top of 1
 
   $ hg rebase -r . -d 1
-  rebasing 2:32acf8fb1b23 tip "apricot and coconut"
+  rebasing 2:32acf8fb1b23 "apricot and coconut" (tip)
   1 new orphan changesets
 
 Pruning 1 just to get it out of the way
--- a/tests/test-evolve-obshistory-amend-then-fold.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-obshistory-amend-then-fold.t	Thu May 27 23:09:47 2021 +0800
@@ -352,7 +352,7 @@
       }
   ]
   $ hg update 471f378eab4c
-  abort: hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192
+  abort: hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192!
   (use --hidden to access hidden revisions)
   [255]
   $ hg update --hidden 'desc(A0)'
--- a/tests/test-evolve-obshistory-amend.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-obshistory-amend.t	Thu May 27 23:09:47 2021 +0800
@@ -203,7 +203,7 @@
       }
   ]
   $ hg update 471f378eab4c
-  abort: hidden revision '471f378eab4c' was rewritten as: 4ae3a4151de9
+  abort: hidden revision '471f378eab4c' was rewritten as: 4ae3a4151de9!
   (use --hidden to access hidden revisions)
   [255]
   $ hg update --hidden "desc(A0)"
--- a/tests/test-evolve-obshistory-content-divergent.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-obshistory-content-divergent.t	Thu May 27 23:09:47 2021 +0800
@@ -439,7 +439,7 @@
       }
   ]
   $ hg update 471f378eab4c
-  abort: hidden revision '471f378eab4c' has diverged
+  abort: hidden revision '471f378eab4c' has diverged!
   (use --hidden to access hidden revisions)
   [255]
   $ hg update --hidden 'desc(A0)'
--- a/tests/test-evolve-obshistory-fold.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-obshistory-fold.t	Thu May 27 23:09:47 2021 +0800
@@ -289,7 +289,7 @@
       }
   ]
   $ hg update 471f378eab4c
-  abort: hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192
+  abort: hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192!
   (use --hidden to access hidden revisions)
   [255]
   $ hg update --hidden 'desc(A0)'
@@ -299,7 +299,7 @@
   working directory parent is obsolete! (471f378eab4c)
   (use 'hg evolve' to update to its successor: eb5a0daa2192)
   $ hg update 0dec01379d3b
-  abort: hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192
+  abort: hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192!
   (use --hidden to access hidden revisions)
   [255]
   $ hg update --hidden 'desc(B0)'
--- a/tests/test-evolve-obshistory-lots-of-splits.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-obshistory-lots-of-splits.t	Thu May 27 23:09:47 2021 +0800
@@ -444,7 +444,7 @@
   x  de7290d8b885 (1) A0
   
   $ hg update de7290d8b885
-  abort: hidden revision 'de7290d8b885' was split as: 337fec4d2edc, f257fde29c7a and 2 more
+  abort: hidden revision 'de7290d8b885' was split as: 337fec4d2edc, f257fde29c7a and 2 more!
   (use --hidden to access hidden revisions)
   [255]
   $ hg update --hidden 'min(desc(A0))'
--- a/tests/test-evolve-obshistory-prune.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-obshistory-prune.t	Thu May 27 23:09:47 2021 +0800
@@ -105,7 +105,7 @@
   $ hg up 1
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg up 0dec01379d3b
-  abort: hidden revision '0dec01379d3b' is pruned
+  abort: hidden revision '0dec01379d3b' is pruned!
   (use --hidden to access hidden revisions)
   [255]
   $ hg up --hidden -r 'desc(B0)'
--- a/tests/test-evolve-obshistory-split.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-obshistory-split.t	Thu May 27 23:09:47 2021 +0800
@@ -256,7 +256,7 @@
   x  471597cad322 (1) A0
   
   $ hg update 471597cad322
-  abort: hidden revision '471597cad322' was split as: 337fec4d2edc, f257fde29c7a
+  abort: hidden revision '471597cad322' was split as: 337fec4d2edc, f257fde29c7a!
   (use --hidden to access hidden revisions)
   [255]
   $ hg update --hidden 'min(desc(A0))'
--- a/tests/test-evolve-orphan-merge.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-orphan-merge.t	Thu May 27 23:09:47 2021 +0800
@@ -210,7 +210,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo FOObar > c
   $ hg resolve -m
@@ -266,7 +266,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo foobar > c
   $ hg resolve -m
--- a/tests/test-evolve-orphan-split.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-orphan-split.t	Thu May 27 23:09:47 2021 +0800
@@ -177,7 +177,7 @@
       () draft
 
   $ hg rebase -r . -d 8fa14d15e168
-  rebasing 9:c0fbf8aaf6c4 tip "added a b c"
+  rebasing 9:c0fbf8aaf6c4 "added a b c" (tip)
   $ hg glog
   @  10:7f87764e5b64 added a b c
   |   () draft
--- a/tests/test-evolve-phase-divergence.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-phase-divergence.t	Thu May 27 23:09:47 2021 +0800
@@ -578,7 +578,7 @@
 
   $ cd ../alice
   $ hg rebase -r . -d .^^^
-  rebasing 9:2352021b3785 bm tip "added x to x"
+  rebasing 9:2352021b3785 "added x to x" (bm tip)
 
   $ hg pull ../public
   pulling from ../public
@@ -707,7 +707,7 @@
   $ hg add y
   $ hg ci -m "y to y and foobar to foo"
   $ hg rebase -r . -d .^^^
-  rebasing 12:dc88f5aa9bc9 tip "y to y and foobar to foo"
+  rebasing 12:dc88f5aa9bc9 "y to y and foobar to foo" (tip)
 
   $ echo foo > y
   $ hg amend
@@ -814,7 +814,7 @@
   $ echo l > l
   $ hg ci -Aqm "added l to l"
   $ hg rebase -r . -d .^^^^
-  rebasing 17:f3794e5a91dc tip "added l to l"
+  rebasing 17:f3794e5a91dc "added l to l" (tip)
   $ echo kl > l
   $ echo foo > x
   $ hg add x
@@ -860,7 +860,7 @@
   warning: conflicts while merging x! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg diff
   diff -r 8c2bb6fb44e9 l
--- a/tests/test-evolve-phase.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-phase.t	Thu May 27 23:09:47 2021 +0800
@@ -97,7 +97,7 @@
   warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg diff
   diff -r 87495ea7c9ec a
--- a/tests/test-evolve-progress.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-progress.t	Thu May 27 23:09:47 2021 +0800
@@ -136,7 +136,7 @@
   warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
   $ echo resolved > a
   $ hg resolve -m a
   (no more unresolved files)
--- a/tests/test-evolve-public-content-divergent-corner-cases.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-public-content-divergent-corner-cases.t	Thu May 27 23:09:47 2021 +0800
@@ -396,7 +396,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg diff
   diff -r 155349b645be c
@@ -427,7 +427,7 @@
   1 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg sum
   parent: 5:93cd84bbdaca 
@@ -507,7 +507,7 @@
   $ node=`hg log --rev 'desc("c_E")' -T '{node}'`
   $ hg rebase -s $node -d 'desc("c_B")'
   rebasing 5:4ab2719bbab9 "c_E"
-  rebasing 6:77ccbf8d837e tip "c_F"
+  rebasing 6:77ccbf8d837e "c_F" (tip)
   $ hg phase --public tip
   $ hg rebase --hidden -s $node -d 'desc("c_C")' --config experimental.evolution.allowdivergence=yes
   rebasing 5:4ab2719bbab9 "c_E"
--- a/tests/test-evolve-public-content-divergent-discard.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-public-content-divergent-discard.t	Thu May 27 23:09:47 2021 +0800
@@ -273,7 +273,7 @@
   0 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg diff
   diff -r f7c1071f1e7c ch
@@ -387,7 +387,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo c > c
   $ hg res -m
@@ -492,7 +492,7 @@
   0 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo dh > dh
   $ hg res -m
@@ -595,7 +595,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo c > c
   $ hg res -m
@@ -609,7 +609,7 @@
   0 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo dh > dh
   $ hg res -m
--- a/tests/test-evolve-public-content-divergent-main.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-public-content-divergent-main.t	Thu May 27 23:09:47 2021 +0800
@@ -174,7 +174,7 @@
   0 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo "I am foobar" > b
   $ hg resolve -m --tool union
@@ -361,7 +361,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg diff
   diff -r 155349b645be c
@@ -492,7 +492,7 @@
   0 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo d > d
   $ hg res -m
@@ -584,7 +584,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg diff
   diff -r 155349b645be c
@@ -619,7 +619,7 @@
   2 files updated, 0 files merged, 0 files removed, 1 files unresolved
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo d > d
   $ hg res -m
--- a/tests/test-evolve-serveronly-legacy.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-serveronly-legacy.t	Thu May 27 23:09:47 2021 +0800
@@ -57,5 +57,5 @@
   abort: remote error:
   incompatible Mercurial client; bundle2 required
   (see https://www.mercurial-scm.org/wiki/IncompatibleClient)
-  [100]
+  [255]
   $ cat ../errors.log
--- a/tests/test-evolve-stop-orphan.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-stop-orphan.t	Thu May 27 23:09:47 2021 +0800
@@ -102,7 +102,7 @@
   warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg evolve --stop
   stopped the interrupted evolve
@@ -150,7 +150,7 @@
   warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg diff
   diff -r cb6a2ab625bb d
@@ -213,7 +213,7 @@
   warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
   $ echo foo > d
   $ hg resolve -m
   (no more unresolved files)
@@ -265,7 +265,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg status
   M c
@@ -305,7 +305,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ echo foobar > c
   $ hg resolve -m
@@ -382,7 +382,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg evolve --stop
   stopped the interrupted evolve
--- a/tests/test-evolve-stop-phasediv.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-stop-phasediv.t	Thu May 27 23:09:47 2021 +0800
@@ -94,7 +94,7 @@
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ hg evolve --stop
   stopped the interrupted evolve
--- a/tests/test-evolve-topic.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve-topic.t	Thu May 27 23:09:47 2021 +0800
@@ -330,9 +330,9 @@
 different topic
 
   $ hg rebase -s d2dc89c57700 -d d834582d9ee3 --config extensions.rebase=
-  rebasing 16:d2dc89c57700 bar "add iii"
+  rebasing 16:d2dc89c57700 "add iii" (bar)
   1 new orphan changesets
-  rebasing 17:9bf430c106b7 bar "add jjj"
+  rebasing 17:9bf430c106b7 "add jjj" (bar)
   1 new orphan changesets
   $ hg log -Gr 42b49017ff90::
   *  21 - {bar} 7542e76aba2c add jjj (draft)
@@ -420,7 +420,7 @@
   warning: conflicts while merging hhh! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
   $ echo "resolved hhh" > hhh
   $ hg resolve --mark hhh
   (no more unresolved files)
--- a/tests/test-evolve.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-evolve.t	Thu May 27 23:09:47 2021 +0800
@@ -462,23 +462,6 @@
 
 (/ninja)
 
-command-templates.oneline-summary is respected when evolving orphan
-
-  $ hg evolve -n --config 'command-templates.oneline-summary = custom {rev} {desc}'
-  move:custom 8 dansk 2!
-  atop:custom 10 dansk!
-  hg rebase -r 569625323d3e -d 9975c016fe7b
-  skipping 8163b3ed62c7, consider including orphan ancestors
-
-command-templates.oneline-summary is respected when evolving/updating working copy
-
-  $ hg co -q 7
-  working directory parent is obsolete! (aca219761afb)
-  $ hg evolve --no-all --config 'command-templates.oneline-summary = custom {rev} {desc}'
-  update:custom 10 dansk!
-  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  working directory is now at 9975c016fe7b
-
   $ hg evolve --all --traceback
   move:[8] dansk 2!
   atop:[10] dansk!
@@ -647,7 +630,7 @@
   merging 1
   warning: conflicts while merging 1! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts (see hg help resolve)
-  [240]
+  [1]
   $ hg log -r7 --template '{rev}:{node|short} {obsolete}\n'
   7:a5bfd90a2f29 
   $ echo 3 > 1
@@ -1173,11 +1156,11 @@
   $ hg next
   hg: unknown command 'next'
   (use 'hg help' for a list of commands)
-  [10]
+  [255]
   $ hg fold
   hg: unknown command 'fold'
   (use 'hg help' for a list of commands)
-  [10]
+  [255]
 Enabling commands selectively, only fold enabled, next is still unknown
   $ cat >> $HGRCPATH <<EOF
   > [experimental]
@@ -1190,7 +1173,7 @@
   $ hg next
   hg: unknown command 'next'
   (use 'hg help' for a list of commands)
-  [10]
+  [255]
 
 Shows "use 'hg evolve' to..." hints iff the evolve command is enabled
 
@@ -1415,7 +1398,7 @@
   warning: conflicts while merging newfile! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
   $ glog -r "desc('add unstableifparentisfolded')::" --hidden
   @  33:b9acdb1af6d5@default(draft) will be evolved safely
--- a/tests/test-exchange-obsmarkers-case-A3.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-exchange-obsmarkers-case-A3.t	Thu May 27 23:09:47 2021 +0800
@@ -229,9 +229,9 @@
   $ hg push -R main -r 'desc(A1)' pushdest
   pushing to pushdest
   searching for changes
-  abort: push creates new remote head e5ea8f9c7314
+  abort: push creates new remote head e5ea8f9c7314!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
   $ cd ..
 
 test obsmarkers exchange.
--- a/tests/test-extension-isolation.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-extension-isolation.t	Thu May 27 23:09:47 2021 +0800
@@ -42,12 +42,12 @@
   warning: --repository ignored
   abort: no such help topic: evolve
   (try 'hg help --keyword evolve')
-  [10]
+  [255]
   $ hg -R repo-no-ext help -e topic
   warning: --repository ignored
   abort: no such help topic: topic
   (try 'hg help --keyword topic')
-  [10]
+  [255]
 
 start hgweb dir for all repo
 
--- a/tests/test-fold.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-fold.t	Thu May 27 23:09:47 2021 +0800
@@ -149,7 +149,7 @@
 (test inherited from test-evolve.t)
 
   $ hg fold --from 6 # want to run hg fold 6
-  abort: hidden revision '6' was rewritten as: 198b5c405d01
+  abort: hidden revision '6' was rewritten as: 198b5c405d01!
   (use --hidden to access hidden revisions)
   [255]
 
--- a/tests/test-issue-5720.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-issue-5720.t	Thu May 27 23:09:47 2021 +0800
@@ -63,7 +63,7 @@
   warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
 
 Fix the conflict
   $ echo c2 > a
--- a/tests/test-minitopic.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-minitopic.t	Thu May 27 23:09:47 2021 +0800
@@ -85,15 +85,15 @@
   $ hg push enabled
   pushing to http://localhost:$HGPORT/
   searching for changes
-  abort: push creates new remote head 22c9514ed811
+  abort: push creates new remote head 22c9514ed811!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
   $ hg push disabled
   pushing to http://localhost:$HGPORT2/
   searching for changes
-  abort: push creates new remote head 22c9514ed811
+  abort: push creates new remote head 22c9514ed811!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
   $ hg debugdownload http://localhost:$HGPORT/?cmd=branchmap | sort
   default 0ab6d544d0efd629fda056601cfe95e73d1af210
@@ -151,9 +151,9 @@
   $ hg push disabled
   pushing to http://localhost:$HGPORT2/
   searching for changes
-  abort: push creates new remote head f31af349535e
+  abort: push creates new remote head f31af349535e!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
   $ hg push enabled
   pushing to http://localhost:$HGPORT/
   searching for changes
@@ -220,9 +220,9 @@
   $ hg push enabled
   pushing to http://localhost:$HGPORT/
   searching for changes
-  abort: push creates new remote head 82c5842e0472 on branch 'default:topic_A'
+  abort: push creates new remote head 82c5842e0472 on branch 'default:topic_A'!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
   $ hg push disabled
   pushing to http://localhost:$HGPORT2/
   searching for changes
--- a/tests/test-obsolete.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-obsolete.t	Thu May 27 23:09:47 2021 +0800
@@ -175,7 +175,7 @@
   $ hg init ../other-new
   $ hg phase --draft 'secret() - extinct()' # until we fix exclusion
   abort: empty revision set
-  [10]
+  [255]
   $ hg push ../other-new
   pushing to ../other-new
   searching for changes
@@ -314,7 +314,7 @@
 ..  $ hg push ../other-old
 ..  pushing to ../other-old
 ..  searching for changes
-..  abort: push includes an unstable changeset: 909a0fb57e5d
+..  abort: push includes an unstable changeset: 909a0fb57e5d!
 ..  (use 'hg evolve' to get a stable history or --force to ignore warnings)
 ..  [255]
 ..  $ hg push -f ../other-old
--- a/tests/test-options.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-options.t	Thu May 27 23:09:47 2021 +0800
@@ -27,4 +27,4 @@
   $ hg prune
   hg: unknown command 'prune'
   (use 'hg help' for a list of commands)
-  [10]
+  [255]
--- a/tests/test-pick.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-pick.t	Thu May 27 23:09:47 2021 +0800
@@ -90,7 +90,7 @@
 #if abortcommand
   $ hg abort
   abort: no operation in progress
-  [20]
+  [255]
 #endif
 
 Specifying both continue and revs
@@ -197,7 +197,7 @@
   merging c
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts (see hg help resolve)
-  [240]
+  [1]
 
   $ echo foobar > c
   $ hg resolve --all --mark
@@ -235,7 +235,7 @@
   merging c
   warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts (see hg help resolve)
-  [240]
+  [1]
   $ echo foobar > c
   $ hg resolve -m
   (no more unresolved files)
@@ -260,7 +260,7 @@
   merging b
   warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts (see hg help resolve)
-  [240]
+  [1]
 
 #if abortcommand
   $ hg abort --dry-run
@@ -320,7 +320,7 @@
   merging b
   warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts (see hg help resolve)
-  [240]
+  [1]
 
   $ echo bar > b
   $ hg resolve -m
@@ -459,7 +459,7 @@
   merging a
   warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts (see hg help resolve)
-  [240]
+  [1]
   $ hg resolve -t :other a
   (no more unresolved files)
   continue: hg pick --continue
--- a/tests/test-prev-next.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-prev-next.t	Thu May 27 23:09:47 2021 +0800
@@ -125,14 +125,14 @@
   $ hg prev
   abort: uncommitted changes
   (do you want --merge?)
-  [20]
+  [255]
   $ hg prev --merge
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   [0] added a
   $ hg next
   abort: uncommitted changes
   (do you want --merge?)
-  [20]
+  [255]
   $ hg next --merge
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   [1] added b
@@ -380,7 +380,7 @@
   $ hg next --evolve
   abort: uncommitted changes
   (use `hg amend`, `hg revert` or `hg shelve`)
-  [20]
+  [255]
 
   $ cd ..
 
@@ -471,7 +471,7 @@
   $ hg prev --config commands.update.check=abort
   abort: uncommitted changes
   (do you want --merge?)
-  [20]
+  [255]
   $ hg prev --merge --config commands.update.check=abort
   file 'bar' was deleted in other [destination] but was modified in local [working copy].
   You can use (c)hanged version, (d)elete, or leave (u)nresolved.
@@ -492,7 +492,7 @@
   $ hg next --config commands.update.check=abort
   abort: uncommitted changes
   (do you want --merge?)
-  [20]
+  [255]
   $ hg next --merge --config commands.update.check=abort
   merging bar
   warning: conflicts while merging bar! (edit, then use 'hg resolve --mark')
@@ -651,15 +651,15 @@
   $ hg next --no-merge --evolve --dry-run
   abort: uncommitted changes
   (use `hg amend`, `hg revert` or `hg shelve`)
-  [20]
+  [255]
   $ hg next --no-merge --no-evolve --dry-run
   abort: uncommitted changes
   (do you want --merge?)
-  [20]
+  [255]
   $ hg next --merge --no-evolve --dry-run
   hg update db0dc1f00682;
   [4] durian
   $ hg next --merge --evolve --dry-run
   abort: uncommitted changes
   (use `hg amend`, `hg revert` or `hg shelve`)
-  [20]
+  [255]
--- a/tests/test-prune.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-prune.t	Thu May 27 23:09:47 2021 +0800
@@ -304,7 +304,7 @@
   bookmark 'todelete' deleted
   1 changesets pruned
   $ hg id -ir dcbb326fdec2
-  abort: hidden revision 'dcbb326fdec2' is pruned
+  abort: hidden revision 'dcbb326fdec2' is pruned!
   (use --hidden to access hidden revisions)
   [255]
   $ hg id -ir d62d843c9a01
@@ -338,7 +338,7 @@
   3 changesets pruned
   $ hg tag --remove --local c
   $ hg id -ir 6:2702dd0c91e7
-  abort: hidden revision '6' is pruned
+  abort: hidden revision '6' is pruned!
   (use --hidden to access hidden revisions)
   [255]
 
--- a/tests/test-push-checkheads-mixed-branch-topic-G3.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-push-checkheads-mixed-branch-topic-G3.t	Thu May 27 23:09:47 2021 +0800
@@ -90,8 +90,8 @@
   $ hg push -r 'desc("C1")'
   pushing to $TESTTMP/E1/server
   searching for changes
-  abort: push creates new remote head dc44c53142f0
+  abort: push creates new remote head dc44c53142f0!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
   $ cd ../..
--- a/tests/test-push-checkheads-multi-topics-F3.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-push-checkheads-multi-topics-F3.t	Thu May 27 23:09:47 2021 +0800
@@ -94,8 +94,8 @@
   $ hg push -r 'desc("C1")'
   pushing to $TESTTMP/E1/server
   searching for changes
-  abort: push creates new remote head 57530ca5eb24 on branch 'default:Y'
+  abort: push creates new remote head 57530ca5eb24 on branch 'default:Y'!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
   $ cd ../..
--- a/tests/test-push-checkheads-multibranches-E3.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-push-checkheads-multibranches-E3.t	Thu May 27 23:09:47 2021 +0800
@@ -90,8 +90,8 @@
   $ hg push -r 'desc("C1")'
   pushing to $TESTTMP/E1/server
   searching for changes
-  abort: push creates new remote head dc44c53142f0
+  abort: push creates new remote head dc44c53142f0!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
   $ cd ../..
--- a/tests/test-push-checkheads-partial-C1.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-push-checkheads-partial-C1.t	Thu May 27 23:09:47 2021 +0800
@@ -77,6 +77,6 @@
   $ hg push
   pushing to $TESTTMP/server
   searching for changes
-  abort: push creates new remote head 25c56d33e4c4
+  abort: push creates new remote head 25c56d33e4c4!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
--- a/tests/test-push-checkheads-partial-C2.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-push-checkheads-partial-C2.t	Thu May 27 23:09:47 2021 +0800
@@ -79,8 +79,8 @@
   $ hg push --rev 'desc(A1)'
   pushing to $TESTTMP/C2/server (glob)
   searching for changes
-  abort: push creates new remote head f6082bc4ffef
+  abort: push creates new remote head f6082bc4ffef!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
   $ cd ../..
--- a/tests/test-push-checkheads-partial-C3.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-push-checkheads-partial-C3.t	Thu May 27 23:09:47 2021 +0800
@@ -78,8 +78,8 @@
   $ hg push
   pushing to $TESTTMP/C3/server (glob)
   searching for changes
-  abort: push creates new remote head 0f88766e02d6
+  abort: push creates new remote head 0f88766e02d6!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
   $ cd ../..
--- a/tests/test-push-checkheads-partial-C4.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-push-checkheads-partial-C4.t	Thu May 27 23:09:47 2021 +0800
@@ -79,8 +79,8 @@
   $ hg push --rev 'desc(C0)'
   pushing to $TESTTMP/C4/server (glob)
   searching for changes
-  abort: push creates new remote head 0f88766e02d6
+  abort: push creates new remote head 0f88766e02d6!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
   $ cd ../..
--- a/tests/test-push-checkheads-unpushed-D1.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-push-checkheads-unpushed-D1.t	Thu May 27 23:09:47 2021 +0800
@@ -71,9 +71,9 @@
   $ hg push -r 'desc(B0)'
   pushing to $TESTTMP/D1/server (glob)
   searching for changes
-  abort: push creates new remote head 74ff5441d343
+  abort: push creates new remote head 74ff5441d343!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
   $ cd ../..
 
--- a/tests/test-push-checkheads-unpushed-D2.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-push-checkheads-unpushed-D2.t	Thu May 27 23:09:47 2021 +0800
@@ -92,8 +92,8 @@
   $ hg push --rev 'desc(C0)'
   pushing to $TESTTMP/D2/server (glob)
   searching for changes
-  abort: push creates new remote head 0f88766e02d6
+  abort: push creates new remote head 0f88766e02d6!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
   $ cd ../..
--- a/tests/test-push-checkheads-unpushed-D3.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-push-checkheads-unpushed-D3.t	Thu May 27 23:09:47 2021 +0800
@@ -91,15 +91,15 @@
   $ hg push --rev 'desc(A1)'
   pushing to $TESTTMP/D3/server (glob)
   searching for changes
-  abort: push creates new remote head f6082bc4ffef
+  abort: push creates new remote head f6082bc4ffef!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
   $ hg push --rev 'desc(B1)'
   pushing to $TESTTMP/D3/server (glob)
   searching for changes
-  abort: push creates new remote head 25c56d33e4c4
+  abort: push creates new remote head 25c56d33e4c4!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
 Extra testing
 -------------
@@ -109,8 +109,8 @@
   $ hg push
   pushing to $TESTTMP/D3/server (glob)
   searching for changes
-  abort: push creates new remote head 25c56d33e4c4
+  abort: push creates new remote head 25c56d33e4c4!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
   $ cd ../..
--- a/tests/test-push-checkheads-unpushed-D4.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-push-checkheads-unpushed-D4.t	Thu May 27 23:09:47 2021 +0800
@@ -109,9 +109,9 @@
   $ hg push --rev 'desc(A1)'
   pushing to $TESTTMP/D4/server (glob)
   searching for changes
-  abort: push creates new remote head f6082bc4ffef
+  abort: push creates new remote head f6082bc4ffef!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
 Actual testing (existing branch only)
 ------------------------------------
--- a/tests/test-push-checkheads-unpushed-D5.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-push-checkheads-unpushed-D5.t	Thu May 27 23:09:47 2021 +0800
@@ -98,9 +98,9 @@
   $ hg push --rev 'desc(B1)'
   pushing to $TESTTMP/D5/server (glob)
   searching for changes
-  abort: push creates new remote head 25c56d33e4c4
+  abort: push creates new remote head 25c56d33e4c4!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
   $ hg push --rev 'desc(A1)'
   pushing to $TESTTMP/D5/server (glob)
   searching for changes
--- a/tests/test-push-checkheads-unpushed-D6.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-push-checkheads-unpushed-D6.t	Thu May 27 23:09:47 2021 +0800
@@ -79,8 +79,8 @@
   $ hg push --rev 'desc(C0)'
   pushing to $TESTTMP/D6/server (glob)
   searching for changes
-  abort: push creates new remote head 0f88766e02d6
+  abort: push creates new remote head 0f88766e02d6!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
   $ cd ../..
--- a/tests/test-rewind.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-rewind.t	Thu May 27 23:09:47 2021 +0800
@@ -1202,13 +1202,13 @@
 
   $ hg rewind --to 'desc("amended")' --hidden
   abort: uncommitted changes
-  [20]
+  [255]
 
 XXX: Unfortunately, even with --keep it's not allowed
 
   $ hg rewind --keep --to 'desc("amended")' --hidden
   abort: uncommitted changes
-  [20]
+  [255]
 
   $ cd ..
 
--- a/tests/test-sharing.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-sharing.t	Thu May 27 23:09:47 2021 +0800
@@ -345,9 +345,9 @@
   pushing to ../public
   searching for changes
   remote has heads on branch 'default' that are not known locally: 9d21d673314a
-  abort: push creates new remote head 3363442626b3 with bookmark 'bug15'
+  abort: push creates new remote head 3363442626b3 with bookmark 'bug15'!
   (pull and merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
   $ hg pull ../public
   pulling from ../public
   searching for changes
@@ -379,7 +379,7 @@
 Alice rebases her draft changeset on top of Bob's public changeset and
 publishes the result.
   $ hg rebase -d 4
-  rebasing 3:3363442626b3 bug15 "fix bug 15 (v2)"
+  rebasing 3:3363442626b3 "fix bug 15 (v2)" (bug15)
   $ hg push ../public
   pushing to ../public
   searching for changes
--- a/tests/test-split.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-split.t	Thu May 27 23:09:47 2021 +0800
@@ -128,7 +128,7 @@
   $ echo "_cd" > _c
   $ hg split
   abort: uncommitted changes
-  [20]
+  [255]
   $ hg up "desc(_c)" -C
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
@@ -372,7 +372,7 @@
   (enter ? for help) [Ynesfdaq?] q
   
   abort: user quit
-  [250]
+  [255]
 
 Running split with tip revision, specified as unnamed argument
   $ hg split --rev . << EOF
@@ -386,7 +386,7 @@
   (enter ? for help) [Ynesfdaq?] q
   
   abort: user quit
-  [250]
+  [255]
 
 Running split with both unnamed and named revision arguments shows an error msg
   $ hg split  --rev . --rev .^ << EOF
@@ -638,7 +638,7 @@
   (enter ? for help) [Ynesfdaq?] q
   
   abort: user quit
-  [250]
+  [255]
 
   $ hg branch
   another-branch
--- a/tests/test-stabilize-conflict.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-stabilize-conflict.t	Thu May 27 23:09:47 2021 +0800
@@ -128,7 +128,7 @@
   warning: conflicts while merging babar! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
   $ hg resolve -l
   U babar
   $ hg log -G
@@ -221,7 +221,7 @@
   merging babar failed!
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
   $ hg resolve -l
   U babar
   $ hg log -G
--- a/tests/test-topic-change.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-topic-change.t	Thu May 27 23:09:47 2021 +0800
@@ -182,13 +182,13 @@
      Added a  ()
   
   $ hg rebase -s 11 -d 22
-  rebasing 11:1315a3808ed0 foo "Added d"
+  rebasing 11:1315a3808ed0 "Added d" (foo)
   switching to topic foo
-  rebasing 16:edc4a6b9ea60 bar "Added e"
+  rebasing 16:edc4a6b9ea60 "Added e" (bar)
   switching to topic bar
-  rebasing 17:82e0b14f4d9e bar "Added f"
-  rebasing 18:e7b418d79a05 bar "Added g"
-  rebasing 20:c2d6b7df5dcf foobar "Added h"
+  rebasing 17:82e0b14f4d9e "Added f" (bar)
+  rebasing 18:e7b418d79a05 "Added g" (bar)
+  rebasing 20:c2d6b7df5dcf "Added h" (foobar)
   switching to topic foobar
 
   $ hg glog
--- a/tests/test-topic-dest.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-topic-dest.t	Thu May 27 23:09:47 2021 +0800
@@ -113,7 +113,7 @@
   switching to topic elephant
   1 files updated, 0 files merged, 1 files removed, 0 files unresolved
   $ hg rebase
-  rebasing 4:cb7ae72f4a80 elephant "babar"
+  rebasing 4:cb7ae72f4a80 "babar" (elephant)
   switching to topic elephant
   $ hg log -G
   @  7 (elephant) babar
@@ -134,7 +134,7 @@
   switching to topic monkey
   1 files updated, 0 files merged, 3 files removed, 0 files unresolved
   $ hg rebase
-  rebasing 5:d832ddc604ec monkey "zephir"
+  rebasing 5:d832ddc604ec "zephir" (monkey)
   switching to topic monkey
   $ hg log -G
   @  8 (monkey) zephir
@@ -177,7 +177,7 @@
   o  0 () c_alpha
   
   $ hg rebase
-  rebasing 9:d79a104e2902 tip monkey "Huc"
+  rebasing 9:d79a104e2902 "Huc" (tip monkey)
   $ hg log -G
   @  10 (monkey) Huc
   |
@@ -229,7 +229,7 @@
   switching to topic elephant
   1 files updated, 0 files merged, 1 files removed, 0 files unresolved
   $ hg rebase -d 'desc(c_zeta)' # make sure tip is elsewhere
-  rebasing 7:8d0b77140b05 elephant "babar"
+  rebasing 7:8d0b77140b05 "babar" (elephant)
   switching to topic elephant
   $ hg up monkey
   switching to topic monkey
--- a/tests/test-topic-flow-publish-flag.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-topic-flow-publish-flag.t	Thu May 27 23:09:47 2021 +0800
@@ -394,9 +394,9 @@
   $ hg push -r 'desc("c_dN0")' --publish
   pushing to $TESTTMP/bare-branch-server
   searching for changes
-  abort: push creates new remote head 4dcd0be9db96
+  abort: push creates new remote head 4dcd0be9db96!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
   $ hg log --rev 'sort(all(), "topo")' -GT '{rev}:{node|short} {desc} {phase} {branch} {topics}'
   @  14:4dcd0be9db96 c_dN0 draft default topic_B
   |
--- a/tests/test-topic-push.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-topic-push.t	Thu May 27 23:09:47 2021 +0800
@@ -81,9 +81,9 @@
   $ hg push
   pushing to $TESTTMP/main (glob)
   searching for changes
-  abort: push creates new remote head 9fe81b7f425d
+  abort: push creates new remote head 9fe81b7f425d!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
   $ hg outgoing -r 'desc(CB)' -G
   comparing with $TESTTMP/main (glob)
   searching for changes
@@ -111,9 +111,9 @@
   $ hg push
   pushing to $TESTTMP/main (glob)
   searching for changes
-  abort: push creates new remote branches: mountain
+  abort: push creates new remote branches: mountain!
   (use 'hg push --new-branch' to create new remote branches)
-  [20]
+  [255]
   $ hg push --new-branch
   pushing to $TESTTMP/main (glob)
   searching for changes
@@ -210,10 +210,10 @@
   
 
   $ hg outgoing draft --topic nonexistent
-  abort: topic 'nonexistent' does not exist
+  abort: topic 'nonexistent' does not exist!
   [255]
   $ hg push draft --topic nonexistent
-  abort: topic 'nonexistent' does not exist
+  abort: topic 'nonexistent' does not exist!
   [255]
 
   $ hg up babar
@@ -254,9 +254,9 @@
   $ hg push
   pushing to $TESTTMP/main (glob)
   searching for changes
-  abort: push creates new remote head 67f579af159d
+  abort: push creates new remote head 67f579af159d!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
   $ hg log -G
   @  4 default babar draft CD
   |
@@ -300,9 +300,9 @@
   $ hg push ssh://user@dummy/draft
   pushing to ssh://user@dummy/draft
   searching for changes
-  abort: push creates new remote head 84eaf32db6c3
+  abort: push creates new remote head 84eaf32db6c3!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
   $ hg log -G
   @  5 default celeste draft CE
   |
@@ -342,9 +342,9 @@
   $ hg push ssh://user@dummy/main
   pushing to ssh://user@dummy/main
   searching for changes
-  abort: push creates new remote head 67f579af159d
+  abort: push creates new remote head 67f579af159d!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
   $ hg log -G
   @  5 default celeste draft CE
   |
@@ -384,9 +384,9 @@
   $ hg push draft
   pushing to $TESTTMP/draft (glob)
   searching for changes
-  abort: push creates new remote head f0bc62a661be on branch 'default:babar'
+  abort: push creates new remote head f0bc62a661be on branch 'default:babar'!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
 Multiple heads on a branch merged into a topic branch
 -----------------------------------------------------
@@ -428,9 +428,9 @@
   $ hg push draft -r .
   pushing to $TESTTMP/draft (glob)
   searching for changes
-  abort: push creates new remote head 4937c4cad39e
+  abort: push creates new remote head 4937c4cad39e!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
 Reject when pushing to publishing
 
--- a/tests/test-topic-rebase.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-topic-rebase.t	Thu May 27 23:09:47 2021 +0800
@@ -59,7 +59,7 @@
   switching to topic myfeature
   1 files updated, 0 files merged, 1 files removed, 0 files unresolved
   $ hg rebase
-  rebasing 1:39e7a938055e myfeature "add feature1"
+  rebasing 1:39e7a938055e "add feature1" (myfeature)
   switching to topic myfeature
   $ hg stack
   ### topic: myfeature
@@ -110,12 +110,12 @@
   switching to topic myotherfeature
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg rebase
-  rebasing 5:81f854012ec5 myotherfeature "myotherfeature1"
+  rebasing 5:81f854012ec5 "myotherfeature1" (myotherfeature)
   merging file
   warning: conflicts while merging file! (edit, then use 'hg resolve --mark')
   switching to topic myotherfeature
   unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
-  [240]
+  [1]
 
 Resolve the conflict
   $ echo A2 > file
@@ -124,7 +124,7 @@
   (no more unresolved files)
   continue: hg rebase --continue
   $ hg rebase --continue
-  rebasing 5:81f854012ec5 myotherfeature "myotherfeature1"
+  rebasing 5:81f854012ec5 "myotherfeature1" (myotherfeature)
 
 Check the the commit has the right topic
 
@@ -162,7 +162,7 @@
   $ echo x > a.txt
   $ hg ci -Aqm x
   $ hg rebase -r . -d 3 --config rebase.experimental.inmemory=1
-  rebasing 8:1323571d782d tip myotherfeature "x"
+  rebasing 8:1323571d782d "x" (tip myotherfeature)
   switching to topic myfeature
   switching to topic myotherfeature
   $ logtopic
--- a/tests/test-topic-stack-complex.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-topic-stack-complex.t	Thu May 27 23:09:47 2021 +0800
@@ -160,7 +160,7 @@
   1 new orphan changesets
   2 new content-divergent changesets
   $ hg rebase -r . -d ec94a1ed1330~1
-  rebasing 9:eb3b16fef8ea tip foo "Added e and f"
+  rebasing 9:eb3b16fef8ea "Added e and f" (tip foo)
   $ hg stack
   ### topic: foo (2 heads)
   ### target: default (branch)
--- a/tests/test-topic-stack.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-topic-stack.t	Thu May 27 23:09:47 2021 +0800
@@ -379,11 +379,11 @@
 
   $ hg log -r 'stack(foo)'
   hg: parse error: stack takes no arguments, it works on current topic
-  [10]
+  [255]
 
   $ hg log -r 'stack(foobar)'
   hg: parse error: stack takes no arguments, it works on current topic
-  [10]
+  [255]
 
 Stack relation:
 
@@ -410,8 +410,8 @@
 Make things linear again
 
   $ hg rebase -s 'desc(c_e)' -d 'desc(c_d) - obsolete()'
-  rebasing 4:0f9ac936c87d foo "c_e"
-  rebasing 5:6559e6d93aea foo "c_f"
+  rebasing 4:0f9ac936c87d "c_e" (foo)
+  rebasing 5:6559e6d93aea "c_f" (foo)
   $ hg log -G
   o  8 default {foo} draft c_f
   |
@@ -480,8 +480,8 @@
   $ hg commit --amend -m 'c_D' 
   4 new orphan changesets
   $ hg rebase -d . -s 'desc(c_g)'
-  rebasing 9:81264ae8a36a foo "c_g"
-  rebasing 10:fde5f5941642 foo "c_h"
+  rebasing 9:81264ae8a36a "c_g" (foo)
+  rebasing 10:fde5f5941642 "c_h" (foo)
   $ hg log -G
   o  13 default {foo} draft c_h
   |
@@ -546,8 +546,8 @@
   
 Converting into a linear chain
   $ hg rebase -s 'desc("c_e") - obsolete()' -d 'desc("c_h") - obsolete()'
-  rebasing 7:215bc359096a foo "c_e"
-  rebasing 8:ec9267b3f33f foo "c_f"
+  rebasing 7:215bc359096a "c_e" (foo)
+  rebasing 8:ec9267b3f33f "c_f" (foo)
 
   $ hg log -G
   o  15 default {foo} draft c_f
@@ -593,17 +593,17 @@
   o  0 default {} public c_a
   
   $ hg rebase -s 'desc("c_f") - obsolete()' -d 'desc("c_e") - obsolete()'
-  rebasing 15:77082e55de88 foo "c_f"
+  rebasing 15:77082e55de88 "c_f" (foo)
   switching to topic foo
   1 new orphan changesets
   switching to topic foobar
   $ hg rebase -s 'desc("c_g") - obsolete()' -d 'desc("c_D") - obsolete()'
-  rebasing 12:0c3e8aed985d foo "c_g"
+  rebasing 12:0c3e8aed985d "c_g" (foo)
   switching to topic foo
-  rebasing 13:b9e4f3709bc5 foo "c_h"
-  rebasing 16:4bc813530301 foobar "c_e"
+  rebasing 13:b9e4f3709bc5 "c_h" (foo)
+  rebasing 16:4bc813530301 "c_e" (foobar)
   switching to topic foobar
-  rebasing 18:4406ea4be852 tip foo "c_f"
+  rebasing 18:4406ea4be852 "c_f" (tip foo)
   switching to topic foo
   switching to topic foobar
   $ hg up
@@ -902,12 +902,12 @@
 get things linear again
 
   $ hg rebase -r s1 -d default
-  rebasing 16:1d84ec948370 tip blue "c_D"
+  rebasing 16:1d84ec948370 "c_D" (tip blue)
   switching to topic blue
   $ hg rebase -r s2 -d s1
-  rebasing 13:3ab2eedae500 blue "c_G"
+  rebasing 13:3ab2eedae500 "c_G" (blue)
   $ hg rebase -r s3 -d s2
-  rebasing 8:3bfe800e0486 blue "c_I"
+  rebasing 8:3bfe800e0486 "c_I" (blue)
   $ hg stack
   ### topic: blue
   ### target: default (branch)
--- a/tests/test-topic-tutorial.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-topic-tutorial.t	Thu May 27 23:09:47 2021 +0800
@@ -488,10 +488,10 @@
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
   $ hg rebase
-  rebasing 1:13900241408b food "adding condiments"
+  rebasing 1:13900241408b "adding condiments" (food)
   merging shopping
   switching to topic food
-  rebasing 2:287de11b401f food "adding fruits"
+  rebasing 2:287de11b401f "adding fruits" (food)
   merging shopping
 
   $ hg log --graph
@@ -1055,12 +1055,12 @@
 #endif
 
   $ hg rebase
-  rebasing 6:183984ef46d1 tools "Adding hammer"
+  rebasing 6:183984ef46d1 "Adding hammer" (tools)
   merging shopping
   switching to topic tools
-  rebasing 7:cffff85af537 tools "Adding saw"
+  rebasing 7:cffff85af537 "Adding saw" (tools)
   merging shopping
-  rebasing 8:34255b455dac tools "Adding drill"
+  rebasing 8:34255b455dac "Adding drill" (tools)
   merging shopping
 
 But what about the other topic? You can use 'hg topics --verbose' to see
@@ -1077,9 +1077,9 @@
   $ hg push --rev drinks
   pushing to $TESTTMP/server (glob)
   searching for changes
-  abort: push creates new remote head 70dfa201ed73
+  abort: push creates new remote head 70dfa201ed73!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
 
 Even after a rebase, pushing all active topics at the same time would publish
@@ -1087,19 +1087,19 @@
 multiple *public* heads it would create on that branch:
 
   $ hg rebase -b drinks
-  rebasing 9:8dfa45bd5e0c drinks "Adding apple juice"
+  rebasing 9:8dfa45bd5e0c "Adding apple juice" (drinks)
   merging shopping
   switching to topic drinks
-  rebasing 10:70dfa201ed73 drinks "Adding orange juice"
+  rebasing 10:70dfa201ed73 "Adding orange juice" (drinks)
   merging shopping
   switching to topic tools
 
   $ hg push
   pushing to $TESTTMP/server (glob)
   searching for changes
-  abort: push creates new remote head 4cd7c1591a67
+  abort: push creates new remote head 4cd7c1591a67!
   (merge or see 'hg help push' for details about pushing new heads)
-  [20]
+  [255]
 
 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):
@@ -1777,9 +1777,9 @@
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
   $ hg rebase
-  rebasing 19:d5c51ee5762a tools "Adding saw"
+  rebasing 19:d5c51ee5762a "Adding saw" (tools)
   merging shopping
-  rebasing 20:bae3758e46bf tools "Adding drill"
+  rebasing 20:bae3758e46bf "Adding drill" (tools)
   merging shopping
 
   $ hg stack
--- a/tests/test-topic.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-topic.t	Thu May 27 23:09:47 2021 +0800
@@ -271,16 +271,16 @@
 
   $ hg topic '.'
   abort: the name '.' is reserved
-  [10]
+  [255]
   $ hg topic null
   abort: the name 'null' is reserved
-  [10]
+  [255]
   $ hg topic tip
   abort: the name 'tip' is reserved
-  [10]
+  [255]
   $ hg topic 12345
   abort: cannot use an integer as a name
-  [10]
+  [255]
   $ hg topic '   '
   abort: topic name cannot consist entirely of whitespaces
   [255]
@@ -317,7 +317,7 @@
   HG: branch 'default'
   HG: changed alpha
   abort: empty commit message
-  [10]
+  [255]
   $ hg revert alpha
   $ hg topic
    * topicflag (0 changesets)
@@ -649,7 +649,7 @@
    * query (1 changesets)
   $ hg pull ../pinky -r narf
   pulling from ../pinky
-  abort: unknown revision 'narf'
+  abort: unknown revision 'narf'!
   [255]
   $ hg pull ../pinky -r default
   pulling from ../pinky
@@ -823,13 +823,13 @@
   $ tlog 'topic(wdir())'
   9: fran
   $ tlog 'topic(nonsense)'
-  abort: unknown revision 'nonsense'
+  abort: unknown revision 'nonsense'!
   [255]
 
 Pattern matching in topic() revset
   $ tlog 'topic("re:nonsense")'
   $ tlog 'topic("literal:nonsense")'
-  abort: topic 'nonsense' does not exist
+  abort: topic 'nonsense' does not exist!
   [255]
 
 Deactivate the topic.
--- a/tests/test-uncommit-interactive.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-uncommit-interactive.t	Thu May 27 23:09:47 2021 +0800
@@ -45,7 +45,7 @@
   (enter ? for help) [Ynesfdaq?] q
   
   abort: user quit
-  [250]
+  [255]
   $ hg status
 
 Make a commit with multiple hunks
--- a/tests/test-unstability-resolution-result.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-unstability-resolution-result.t	Thu May 27 23:09:47 2021 +0800
@@ -90,7 +90,7 @@
   warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
   unresolved merge conflicts
   (see 'hg help evolve.interrupted')
-  [240]
+  [1]
   $ hg revert -r "orphan()" a
   $ hg diff
   diff -r 66719795a494 a
@@ -102,7 +102,7 @@
   +newer a
   $ hg evolve --continue
   abort: unresolved merge conflicts (see 'hg help resolve')
-  [20]
+  [255]
   $ hg resolve -m a
   (no more unresolved files)
   continue: hg evolve --continue
--- a/tests/test-userguide.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-userguide.t	Thu May 27 23:09:47 2021 +0800
@@ -20,7 +20,7 @@
   $ hg commit --amend -u alice -d '1 0' -m 'implement feature Y'
   saved backup bundle to $TESTTMP/t/.hg/strip-backup/6e725fd2be6f-42cc74d4-amend.hg (glob)
   $ hg log -r 23fe4ac6d3f1
-  abort: unknown revision '23fe4ac6d3f1'
+  abort: unknown revision '23fe4ac6d3f1'!
   [255]
   $ hg identify -in
   fe0ecd3bd2a4 1
@@ -38,7 +38,7 @@
   $ echo 'tweak feature Y' >> file1.c
   $ hg commit --amend -u alice -d '2 0' -m 'implement feature Y'
   $ hg shortlog -q -r fe0ecd3bd2a4
-  abort: hidden revision 'fe0ecd3bd2a4' was rewritten as: 934359450037
+  abort: hidden revision 'fe0ecd3bd2a4' was rewritten as: 934359450037!
   (use --hidden to access hidden revisions)
   [255]
   $ hg --hidden shortlog -G
--- a/tests/test-wireproto.t	Thu May 27 23:01:35 2021 +0800
+++ b/tests/test-wireproto.t	Thu May 27 23:09:47 2021 +0800
@@ -200,7 +200,7 @@
 
   $ hg debugpushkey http://localhost:$HGPORT/ obsolete
   abort: HTTP Error 410: won't exchange obsmarkers through pushkey
-  [100]
+  [255]
   $ cat errors.log
   $ hg debugpushkey ssh://user@dummy/server obsolete
   remote: abort: won't exchange obsmarkers through pushkey