changeset 5239:0471b9ddd0b2 mercurial-4.6

test-compat: merge mercurial-4.7 into mercurial-4.6
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 08 Apr 2020 01:17:01 +0800
parents 02cc51ca6795 (current diff) 1752a2e7a226 (diff)
children 88f9bbba392d
files tests/test-discovery-obshashrange.t tests/test-evolve-obshistory-amend-then-fold.t
diffstat 28 files changed, 103 insertions(+), 110 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-amend.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-amend.t	Wed Apr 08 01:17:01 2020 +0800
@@ -185,7 +185,7 @@
   $ echo newchanges > a
   $ hg amend
   $ hg up 0 --hidden -q
-  updated to hidden changeset 9092f1db7931
+  updating to a hidden changeset 9092f1db7931
   (hidden revision '9092f1db7931' was rewritten as: aafaf407b00d)
   working directory parent is obsolete! (9092f1db7931)
 
--- a/tests/test-discovery-obshashrange.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-discovery-obshashrange.t	Wed Apr 08 01:17:01 2020 +0800
@@ -231,6 +231,7 @@
   remote: adding manifests
   remote: adding file changes
   remote: added 1 changesets with 1 changes to 1 files (+1 heads)
+  remote: 1 new obsolescence markers
   bundle2-input-bundle: no-transaction
   bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
   bundle2-input-part: "reply:obsmarkers" (params: 0 advisory) supported
@@ -238,7 +239,6 @@
   preparing listkeys for "phases"
   sending listkeys command
   received listkey for "phases": 58 bytes
-  remote: 1 new obsolescence markers
   $ hg -R ../server blackbox
   * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio (glob)
   1970/01/01 00:00:00 * @0000000000000000000000000000000000000000 (*)> updated evo-ext-firstmerge in *.???? seconds (1r) (glob)
--- a/tests/test-evolve-content-divergent-basic.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-content-divergent-basic.t	Wed Apr 08 01:17:01 2020 +0800
@@ -206,9 +206,9 @@
   changed branch on 1 changesets
 
   $ hg up c41c793e0ef1 --hidden
+  updating to a hidden changeset c41c793e0ef1
+  (hidden revision 'c41c793e0ef1' was rewritten as: 9e5dffcb3d48)
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset c41c793e0ef1
-  (hidden revision 'c41c793e0ef1' was rewritten as: 9e5dffcb3d48)
   working directory parent is obsolete! (c41c793e0ef1)
   (use 'hg evolve' to update to its successor: 9e5dffcb3d48)
   $ echo bar > d
@@ -312,9 +312,9 @@
   $ hg amend -m "foo to d"
 
   $ hg up a9d6fd6b5e40 --hidden
+  updating to a hidden changeset a9d6fd6b5e40
+  (hidden revision 'a9d6fd6b5e40' was rewritten as: b10b07a394f1)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset a9d6fd6b5e40
-  (hidden revision 'a9d6fd6b5e40' was rewritten as: b10b07a394f1)
   working directory parent is obsolete! (a9d6fd6b5e40)
   (use 'hg evolve' to update to its successor: b10b07a394f1)
   $ echo babar > d
@@ -372,9 +372,9 @@
   $ hg amend -m "bar to d, expect beers"
 
   $ hg up 11175423b5dc --hidden
+  updating to a hidden changeset 11175423b5dc
+  (hidden revision '11175423b5dc' was rewritten as: 27f0463f169a)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 11175423b5dc
-  (hidden revision '11175423b5dc' was rewritten as: 27f0463f169a)
   working directory parent is obsolete! (11175423b5dc)
   (use 'hg evolve' to update to its successor: 27f0463f169a)
   $ echo wat > d
@@ -482,9 +482,9 @@
   $ echo 'babar' >> a
   $ hg amend
   $ hg up --hidden 'min(desc("More addition"))'
+  updating to a hidden changeset 867e43582046
+  (hidden revision '867e43582046' was rewritten as: fc6349f931da)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 867e43582046
-  (hidden revision '867e43582046' was rewritten as: fc6349f931da)
   working directory parent is obsolete! (867e43582046)
   (use 'hg evolve' to update to its successor: fc6349f931da)
   $ mv a a.old
@@ -575,9 +575,9 @@
 
 
   $ hg up --hidden 'min(desc("More addition"))'
+  updating to a hidden changeset 867e43582046
+  (hidden revision '867e43582046' was rewritten as: 5bf84d1d71d1)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 867e43582046
-  (hidden revision '867e43582046' was rewritten as: 5bf84d1d71d1)
   working directory parent is obsolete! (867e43582046)
   (use 'hg evolve' to update to its successor: 5bf84d1d71d1)
   $ echo 'gotta break' >> a
@@ -752,9 +752,9 @@
   > EOF
   $ hg commit --amend -m E2
   $ hg --hidden update -r 'desc(E1)'
+  updating to a hidden changeset 4a250e5bd992
+  (hidden revision '4a250e5bd992' was rewritten as: 084ae625fa51)
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 4a250e5bd992
-  (hidden revision '4a250e5bd992' was rewritten as: 084ae625fa51)
   working directory parent is obsolete! (4a250e5bd992)
   (use 'hg evolve' to update to its successor: 084ae625fa51)
   $ cat << EOF > numbers
--- a/tests/test-evolve-content-divergent-corner-cases.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-content-divergent-corner-cases.t	Wed Apr 08 01:17:01 2020 +0800
@@ -315,9 +315,9 @@
 create some content divergence
 
   $ hg co dff6e52f5e41 --hidden
+  updating to a hidden changeset dff6e52f5e41
+  (hidden revision 'dff6e52f5e41' was rewritten as: 0825dcee2670)
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
-  updated to hidden changeset dff6e52f5e41
-  (hidden revision 'dff6e52f5e41' was rewritten as: 0825dcee2670)
   working directory parent is obsolete! (dff6e52f5e41)
   (use 'hg evolve' to update to its successor: 0825dcee2670)
   $ hg revert -r .^ c
--- a/tests/test-evolve-content-divergent-first-changeset.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-content-divergent-first-changeset.t	Wed Apr 08 01:17:01 2020 +0800
@@ -24,7 +24,7 @@
   79fa0eb22d65
 
   $ hg up be090ea66256 --hidden --quiet
-  updated to hidden changeset be090ea66256
+  updating to a hidden changeset be090ea66256
   (hidden revision 'be090ea66256' was rewritten as: 79fa0eb22d65)
   working directory parent is obsolete! (be090ea66256)
   $ echo a >> test
--- a/tests/test-evolve-content-divergent-interrupted.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-content-divergent-interrupted.t	Wed Apr 08 01:17:01 2020 +0800
@@ -56,9 +56,9 @@
   $ hg amend
 
   $ hg up c41c793e0ef1 --hidden
+  updating to a hidden changeset c41c793e0ef1
+  (hidden revision 'c41c793e0ef1' was rewritten as: e49523854bc8)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset c41c793e0ef1
-  (hidden revision 'c41c793e0ef1' was rewritten as: e49523854bc8)
   working directory parent is obsolete! (c41c793e0ef1)
   (use 'hg evolve' to update to its successor: e49523854bc8)
 
@@ -279,9 +279,9 @@
   $ hg amend
 
   $ hg up --hidden c41c793e0ef1
+  updating to a hidden changeset c41c793e0ef1
+  (hidden revision 'c41c793e0ef1' was rewritten as: 69bdd23a9b0d)
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset c41c793e0ef1
-  (hidden revision 'c41c793e0ef1' was rewritten as: 69bdd23a9b0d)
   working directory parent is obsolete! (c41c793e0ef1)
   (use 'hg evolve' to update to its successor: 69bdd23a9b0d)
   $ echo bar > d
@@ -423,9 +423,9 @@
   $ hg amend
 
   $ hg up c41c793e0ef1 --hidden
+  updating to a hidden changeset c41c793e0ef1
+  (hidden revision 'c41c793e0ef1' was rewritten as: e49523854bc8)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset c41c793e0ef1
-  (hidden revision 'c41c793e0ef1' was rewritten as: e49523854bc8)
   working directory parent is obsolete! (c41c793e0ef1)
   (use 'hg evolve' to update to its successor: e49523854bc8)
 
--- a/tests/test-evolve-content-divergent-meta.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-content-divergent-meta.t	Wed Apr 08 01:17:01 2020 +0800
@@ -115,7 +115,7 @@
 
   $ hg amend -m "updated c"
   $ hg up -r 'desc("added c")' --hidden -q
-  updated to hidden changeset 2b3c31fe982d
+  updating to a hidden changeset 2b3c31fe982d
   (hidden revision '2b3c31fe982d' was rewritten as: 464e35020fd0)
   working directory parent is obsolete! (2b3c31fe982d)
   $ echo coco > c
--- a/tests/test-evolve-content-divergent-relocation.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-content-divergent-relocation.t	Wed Apr 08 01:17:01 2020 +0800
@@ -14,7 +14,6 @@
   > EOF
   $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
 
-
 Testing resolution of content-divergent changesets when they are on different
 parents and resolution and relocation wont result in conflicts
 ------------------------------------------------------------------------------
@@ -135,9 +134,9 @@
   $ hg amend -m "added foo to x"
 
   $ hg up 71a392c714b5 --hidden
+  updating to a hidden changeset 71a392c714b5
+  (hidden revision '71a392c714b5' was rewritten as: 1e1a50385a7d)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 71a392c714b5
-  (hidden revision '71a392c714b5' was rewritten as: 1e1a50385a7d)
   working directory parent is obsolete! (71a392c714b5)
   (use 'hg evolve' to update to its successor: 1e1a50385a7d)
   $ hg rebase -r . -d 4ae4427ee9f8 --config experimental.evolution.allowdivergence=True
@@ -218,9 +217,9 @@
   $ hg amend
 
   $ hg up fc6ad2bac162 --hidden
+  updating to a hidden changeset fc6ad2bac162
+  (hidden revision 'fc6ad2bac162' was rewritten as: 2a9f6ccbdeba)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset fc6ad2bac162
-  (hidden revision 'fc6ad2bac162' was rewritten as: 2a9f6ccbdeba)
   working directory parent is obsolete! (fc6ad2bac162)
   (use 'hg evolve' to update to its successor: 2a9f6ccbdeba)
   $ hg rebase -r . -d b006cf317e0e --config experimental.evolution.allowdivergence=True
@@ -352,9 +351,9 @@
   $ hg amend
 
   $ hg up daf1de08f3b0 --hidden
+  updating to a hidden changeset daf1de08f3b0
+  (hidden revision 'daf1de08f3b0' was rewritten as: 3f7a1f693080)
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
-  updated to hidden changeset daf1de08f3b0
-  (hidden revision 'daf1de08f3b0' was rewritten as: 3f7a1f693080)
   working directory parent is obsolete! (daf1de08f3b0)
   (use 'hg evolve' to update to its successor: 3f7a1f693080)
   $ hg rebase -r . -d 7bbcf24ddecf --config experimental.evolution.allowdivergence=True
--- a/tests/test-evolve-obshistory-amend-then-fold.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-obshistory-amend-then-fold.t	Wed Apr 08 01:17:01 2020 +0800
@@ -227,15 +227,15 @@
   (use --hidden to access hidden revisions)
   [255]
   $ hg update --hidden 'desc(A0)'
+  updating to a hidden changeset 471f378eab4c
+  (hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192)
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
-  updated to hidden changeset 471f378eab4c
-  (hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192)
   working directory parent is obsolete! (471f378eab4c)
   (use 'hg evolve' to update to its successor: eb5a0daa2192)
   $ hg update --hidden 0dec01379d3b
+  updating to a hidden changeset 0dec01379d3b
+  (hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 0dec01379d3b
-  (hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192)
   working directory parent is obsolete! (0dec01379d3b)
   (use 'hg evolve' to update to its successor: eb5a0daa2192)
   $ hg update 0dec01379d3b
--- a/tests/test-evolve-obshistory-amend.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-obshistory-amend.t	Wed Apr 08 01:17:01 2020 +0800
@@ -221,9 +221,9 @@
   (use --hidden to access hidden revisions)
   [255]
   $ hg update --hidden "desc(A0)"
+  updating to a hidden changeset 471f378eab4c
+  (hidden revision '471f378eab4c' was rewritten as: 4ae3a4151de9)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 471f378eab4c
-  (hidden revision '471f378eab4c' was rewritten as: 4ae3a4151de9)
   working directory parent is obsolete! (471f378eab4c)
   (use 'hg evolve' to update to its successor: 4ae3a4151de9)
 
--- a/tests/test-evolve-obshistory-content-divergent.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-obshistory-content-divergent.t	Wed Apr 08 01:17:01 2020 +0800
@@ -41,9 +41,9 @@
      summary:     ROOT
   
   $ hg update --hidden 'desc(A0)'
+  updating to a hidden changeset 471f378eab4c
+  (hidden revision '471f378eab4c' was rewritten as: fdf9bde5129a)
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 471f378eab4c
-  (hidden revision '471f378eab4c' was rewritten as: fdf9bde5129a)
   working directory parent is obsolete! (471f378eab4c)
   (use 'hg evolve' to update to its successor: fdf9bde5129a)
   $ hg amend -m "A2"
@@ -337,8 +337,8 @@
   (use --hidden to access hidden revisions)
   [255]
   $ hg update --hidden 'desc(A0)'
+  updating to a hidden changeset 471f378eab4c
+  (hidden revision '471f378eab4c' has diverged)
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 471f378eab4c
-  (hidden revision '471f378eab4c' has diverged)
   working directory parent is obsolete! (471f378eab4c)
   (471f378eab4c has diverged, use 'hg evolve --list --content-divergent' to resolve the issue)
--- a/tests/test-evolve-obshistory-fold.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-obshistory-fold.t	Wed Apr 08 01:17:01 2020 +0800
@@ -226,9 +226,9 @@
   (use --hidden to access hidden revisions)
   [255]
   $ hg update --hidden 'desc(A0)'
+  updating to a hidden changeset 471f378eab4c
+  (hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192)
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
-  updated to hidden changeset 471f378eab4c
-  (hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192)
   working directory parent is obsolete! (471f378eab4c)
   (use 'hg evolve' to update to its successor: eb5a0daa2192)
   $ hg update 0dec01379d3b
@@ -236,9 +236,9 @@
   (use --hidden to access hidden revisions)
   [255]
   $ hg update --hidden 'desc(B0)'
+  updating to a hidden changeset 0dec01379d3b
+  (hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 0dec01379d3b
-  (hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192)
   working directory parent is obsolete! (0dec01379d3b)
   (use 'hg evolve' to update to its successor: eb5a0daa2192)
 
--- a/tests/test-evolve-obshistory-lots-of-splits.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-obshistory-lots-of-splits.t	Wed Apr 08 01:17:01 2020 +0800
@@ -278,8 +278,8 @@
   (use --hidden to access hidden revisions)
   [255]
   $ hg update --hidden 'min(desc(A0))'
+  updating to a hidden changeset de7290d8b885
+  (hidden revision 'de7290d8b885' was split as: 337fec4d2edc, f257fde29c7a and 2 more)
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset de7290d8b885
-  (hidden revision 'de7290d8b885' was split as: 337fec4d2edc, f257fde29c7a and 2 more)
   working directory parent is obsolete! (de7290d8b885)
   (use 'hg evolve' to update to its tipmost successor: 337fec4d2edc, f257fde29c7a and 2 more)
--- a/tests/test-evolve-obshistory-phase-divergent.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-obshistory-phase-divergent.t	Wed Apr 08 01:17:01 2020 +0800
@@ -37,9 +37,9 @@
      summary:     ROOT
   
   $ hg update --hidden 'desc(A0)'
+  updating to a hidden changeset 471f378eab4c
+  (hidden revision '471f378eab4c' was rewritten as: fdf9bde5129a)
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 471f378eab4c
-  (hidden revision '471f378eab4c' was rewritten as: fdf9bde5129a)
   working directory parent is obsolete! (471f378eab4c)
   (use 'hg evolve' to update to its successor: fdf9bde5129a)
   $ hg phase -p .
--- a/tests/test-evolve-obshistory-prune.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-obshistory-prune.t	Wed Apr 08 01:17:01 2020 +0800
@@ -104,9 +104,9 @@
   (use --hidden to access hidden revisions)
   [255]
   $ hg up --hidden -r 'desc(B0)'
+  updating to a hidden changeset 0dec01379d3b
+  (hidden revision '0dec01379d3b' is pruned)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 0dec01379d3b
-  (hidden revision '0dec01379d3b' is pruned)
   working directory parent is obsolete! (0dec01379d3b)
   (use 'hg evolve' to update to its parent successor)
 
--- a/tests/test-evolve-obshistory-split.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-obshistory-split.t	Wed Apr 08 01:17:01 2020 +0800
@@ -202,9 +202,9 @@
   (use --hidden to access hidden revisions)
   [255]
   $ hg update --hidden 'min(desc(A0))'
+  updating to a hidden changeset 471597cad322
+  (hidden revision '471597cad322' was split as: 337fec4d2edc, f257fde29c7a)
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 471597cad322
-  (hidden revision '471597cad322' was split as: 337fec4d2edc, f257fde29c7a)
   working directory parent is obsolete! (471597cad322)
   (use 'hg evolve' to update to its tipmost successor: 337fec4d2edc, f257fde29c7a)
 
--- a/tests/test-evolve-phase-divergence.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-phase-divergence.t	Wed Apr 08 01:17:01 2020 +0800
@@ -124,7 +124,6 @@
   searching for changes
   no changes found
   1 new phase-divergent changesets
-  1 local changesets published
 
   $ hg glog
   @  2:98bb3a6cfe1a tweak a
@@ -294,7 +293,6 @@
   searching for changes
   no changes found
   1 new phase-divergent changesets
-  1 local changesets published
 
   $ hg glog
   @  4:d47f2b37ed82 added bar to foo
@@ -427,7 +425,6 @@
   adding file changes
   added 1 changesets with 1 changes to 1 files
   new changesets b756eb10ea73
-  1 local changesets published
   (run 'hg update' to get a working copy)
 
   $ hg push ../public
@@ -449,7 +446,6 @@
   searching for changes
   no changes found
   1 new phase-divergent changesets
-  1 local changesets published
 
   $ hg glog
   @  7:2c3560aedead foo to bar
@@ -580,7 +576,6 @@
   searching for changes
   no changes found
   1 new phase-divergent changesets
-  1 local changesets published
 
   $ hg obslog -r .
   @  334e300d6db5 (10) added x to x
--- a/tests/test-evolve-public-content-divergent-corner-cases.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-public-content-divergent-corner-cases.t	Wed Apr 08 01:17:01 2020 +0800
@@ -72,7 +72,7 @@
 
 On user side: user has not pulled yet and amended the rev 2 which created the divergence after pull:
   $ hg up 2 --hidden -q
-  updated to hidden changeset 155349b645be
+  updating to a hidden changeset 155349b645be
   (hidden revision '155349b645be' was rewritten as: c0d7ee6604ea)
   working directory parent is obsolete! (155349b645be)
 
--- a/tests/test-evolve-public-content-divergent-main.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-public-content-divergent-main.t	Wed Apr 08 01:17:01 2020 +0800
@@ -50,7 +50,7 @@
 Amend again to create a cset divergent to public one:
 
   $ hg up 1 --hidden -q
-  updated to hidden changeset 5f6d8a4bf34a
+  updating to a hidden changeset 5f6d8a4bf34a
   (hidden revision '5f6d8a4bf34a' was rewritten as: 44f360db368f)
   working directory parent is obsolete! (5f6d8a4bf34a)
 
@@ -144,7 +144,7 @@
 Amend again to create a cset divergent to public one:
 
   $ hg up 1 --hidden -q
-  updated to hidden changeset 5f6d8a4bf34a
+  updating to a hidden changeset 5f6d8a4bf34a
   (hidden revision '5f6d8a4bf34a' was rewritten as: 580f2d01e52c)
   working directory parent is obsolete! (5f6d8a4bf34a)
 
--- a/tests/test-evolve-templates.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-templates.t	Wed Apr 08 01:17:01 2020 +0800
@@ -65,9 +65,9 @@
 Check templates
 ---------------
   $ hg up 'desc(A0)' --hidden
+  updating to a hidden changeset 471f378eab4c
+  (hidden revision '471f378eab4c' was rewritten as: d004c8f274b9)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 471f378eab4c
-  (hidden revision '471f378eab4c' was rewritten as: d004c8f274b9)
   working directory parent is obsolete! (471f378eab4c)
   (use 'hg evolve' to update to its successor: d004c8f274b9)
 
@@ -158,9 +158,9 @@
   
 
   $ hg up 'desc(A1)' --hidden
+  updating to a hidden changeset a468dc9b3633
+  (hidden revision 'a468dc9b3633' was rewritten as: d004c8f274b9)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset a468dc9b3633
-  (hidden revision 'a468dc9b3633' was rewritten as: d004c8f274b9)
   working directory parent is obsolete! (a468dc9b3633)
   (use 'hg evolve' to update to its successor: d004c8f274b9)
 
@@ -334,9 +334,9 @@
 ---------------
 
   $ hg up 'obsolete()' --hidden
+  updating to a hidden changeset 471597cad322
+  (hidden revision '471597cad322' was split as: 337fec4d2edc, f257fde29c7a)
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 471597cad322
-  (hidden revision '471597cad322' was split as: 337fec4d2edc, f257fde29c7a)
   working directory parent is obsolete! (471597cad322)
   (use 'hg evolve' to update to its tipmost successor: 337fec4d2edc, f257fde29c7a)
 
@@ -465,9 +465,9 @@
 ---------------
 
   $ hg up 'desc(A0)' --hidden
+  updating to a hidden changeset 471f378eab4c
+  (hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192)
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
-  updated to hidden changeset 471f378eab4c
-  (hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192)
   working directory parent is obsolete! (471f378eab4c)
   (use 'hg evolve' to update to its successor: eb5a0daa2192)
 
@@ -492,9 +492,9 @@
   o  ea207398892e
   
   $ hg up 'desc(B0)' --hidden
+  updating to a hidden changeset 0dec01379d3b
+  (hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 0dec01379d3b
-  (hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192)
   working directory parent is obsolete! (0dec01379d3b)
   (use 'hg evolve' to update to its successor: eb5a0daa2192)
 
@@ -599,9 +599,9 @@
      summary:     ROOT
   
   $ hg update --hidden 'desc(A0)'
+  updating to a hidden changeset 471f378eab4c
+  (hidden revision '471f378eab4c' was rewritten as: fdf9bde5129a)
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 471f378eab4c
-  (hidden revision '471f378eab4c' was rewritten as: fdf9bde5129a)
   working directory parent is obsolete! (471f378eab4c)
   (use 'hg evolve' to update to its successor: fdf9bde5129a)
   $ hg amend -m "A2"
@@ -640,9 +640,9 @@
 ---------------
 
   $ hg up 'desc(A0)' --hidden
+  updating to a hidden changeset 471f378eab4c
+  (hidden revision '471f378eab4c' has diverged)
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 471f378eab4c
-  (hidden revision '471f378eab4c' has diverged)
   working directory parent is obsolete! (471f378eab4c)
   (471f378eab4c has diverged, use 'hg evolve --list --content-divergent' to resolve the issue)
 
@@ -804,9 +804,9 @@
 ---------------
 
   $ hg up 'desc(A0)' --hidden
+  updating to a hidden changeset 471f378eab4c
+  (hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192)
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
-  updated to hidden changeset 471f378eab4c
-  (hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192)
   working directory parent is obsolete! (471f378eab4c)
   (use 'hg evolve' to update to its successor: eb5a0daa2192)
   $ hg tlog
@@ -829,9 +829,9 @@
   o  ea207398892e
   
   $ hg up 'desc(B0)' --hidden
+  updating to a hidden changeset 0dec01379d3b
+  (hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 0dec01379d3b
-  (hidden revision '0dec01379d3b' was rewritten as: eb5a0daa2192)
   working directory parent is obsolete! (0dec01379d3b)
   (use 'hg evolve' to update to its successor: eb5a0daa2192)
   $ hg tlog
@@ -863,9 +863,9 @@
   
 
   $ hg up 'desc(B1)' --hidden
+  updating to a hidden changeset b7ea6d14e664
+  (hidden revision 'b7ea6d14e664' was rewritten as: eb5a0daa2192)
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset b7ea6d14e664
-  (hidden revision 'b7ea6d14e664' was rewritten as: eb5a0daa2192)
   working directory parent is obsolete! (b7ea6d14e664)
   (use 'hg evolve' to update to its successor: eb5a0daa2192)
   $ hg tlog
@@ -1122,9 +1122,9 @@
   o  ea207398892e
   
   $ hg up -r "desc(B0)" --hidden
+  updating to a hidden changeset 0dec01379d3b
+  (hidden revision '0dec01379d3b' is pruned)
   2 files updated, 0 files merged, 1 files removed, 0 files unresolved
-  updated to hidden changeset 0dec01379d3b
-  (hidden revision '0dec01379d3b' is pruned)
   working directory parent is obsolete! (0dec01379d3b)
   (use 'hg evolve' to update to its parent successor)
   $ hg tlog
@@ -1488,9 +1488,9 @@
   o  ea207398892e
   
   $ hg up --hidden 4
+  updating to a hidden changeset 9bd10a0775e4
+  (hidden revision '9bd10a0775e4' has diverged)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 9bd10a0775e4
-  (hidden revision '9bd10a0775e4' has diverged)
   working directory parent is obsolete! (9bd10a0775e4)
   (9bd10a0775e4 has diverged, use 'hg evolve --list --content-divergent' to resolve the issue)
   $ hg rebase -r 7 -d 8 --config extensions.rebase=
@@ -1553,9 +1553,9 @@
 ------------
 
   $ hg up "desc(A0)" --hidden
+  updating to a hidden changeset 471f378eab4c
+  (hidden revision '471f378eab4c' is pruned)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 471f378eab4c
-  (hidden revision '471f378eab4c' is pruned)
   working directory parent is obsolete! (471f378eab4c)
   (use 'hg evolve' to update to its parent successor)
   $ hg tlog
--- a/tests/test-evolve-topic.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve-topic.t	Wed Apr 08 01:17:01 2020 +0800
@@ -445,10 +445,10 @@
 
 update to obsolete revision
   $ hg up -r 'min(desc("add fff"))' --hidden
+  updating to a hidden changeset 6a6b7365c751
+  (hidden revision '6a6b7365c751' was rewritten as: 2c295936ac04)
   switching to topic foo
   2 files updated, 0 files merged, 1 files removed, 0 files unresolved
-  updated to hidden changeset 6a6b7365c751
-  (hidden revision '6a6b7365c751' was rewritten as: 2c295936ac04)
   working directory parent is obsolete! (6a6b7365c751)
   (use 'hg evolve' to update to its successor: 2c295936ac04)
 
--- a/tests/test-evolve.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-evolve.t	Wed Apr 08 01:17:01 2020 +0800
@@ -1240,18 +1240,18 @@
 Shows "use 'hg evolve' to..." hints iff the evolve command is enabled
 
   $ hg --hidden up 14
+  updating to a hidden changeset 484fb3cfa7f2
+  (hidden revision '484fb3cfa7f2' was rewritten as: 98e171e2f272)
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 484fb3cfa7f2
-  (hidden revision '484fb3cfa7f2' was rewritten as: 98e171e2f272)
   working directory parent is obsolete! (484fb3cfa7f2)
   $ cat >> $HGRCPATH <<EOF
   > [experimental]
   > evolutioncommands=evolve
   > EOF
   $ hg --hidden up 15
+  updating to a hidden changeset daa1ff1c7fbd
+  (hidden revision 'daa1ff1c7fbd' was rewritten as: 0c049e4e5422)
   1 files updated, 0 files merged, 1 files removed, 0 files unresolved
-  updated to hidden changeset daa1ff1c7fbd
-  (hidden revision 'daa1ff1c7fbd' was rewritten as: 0c049e4e5422)
   working directory parent is obsolete! (daa1ff1c7fbd)
   (use 'hg evolve' to update to its successor: 0c049e4e5422)
 
@@ -1497,9 +1497,9 @@
   @  1:ab832e43dd5a added a
   
   $ hg up f7ad41964313 --hidden
+  updating to a hidden changeset f7ad41964313
+  (hidden revision 'f7ad41964313' was rewritten as: ab832e43dd5a)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset f7ad41964313
-  (hidden revision 'f7ad41964313' was rewritten as: ab832e43dd5a)
   working directory parent is obsolete! (f7ad41964313)
   (use 'hg evolve' to update to its successor: ab832e43dd5a)
 
--- a/tests/test-obsolete.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-obsolete.t	Wed Apr 08 01:17:01 2020 +0800
@@ -121,7 +121,7 @@
   4
   - 725c380fe99b
   $ hg up --hidden 3 -q
-  updated to hidden changeset 0d3f46688ccc
+  updating to a hidden changeset 0d3f46688ccc
   (hidden revision '0d3f46688ccc' was rewritten as: 725c380fe99b)
   working directory parent is obsolete! (0d3f46688ccc)
 (reported by parents too)
@@ -707,7 +707,7 @@
   
 
   $ hg up --hidden 3 -q
-  updated to hidden changeset 0d3f46688ccc
+  updating to a hidden changeset 0d3f46688ccc
   (hidden revision '0d3f46688ccc' has diverged)
   working directory parent is obsolete! (0d3f46688ccc)
   $ hg evolve
@@ -727,9 +727,9 @@
 Check import reports new unstable changeset:
 
   $ hg up --hidden 2
+  updating to a hidden changeset 4538525df7e2
+  (hidden revision '4538525df7e2' has diverged)
   1 files updated, 0 files merged, 1 files removed, 0 files unresolved
-  updated to hidden changeset 4538525df7e2
-  (hidden revision '4538525df7e2' has diverged)
   working directory parent is obsolete! (4538525df7e2)
   (4538525df7e2 has diverged, use 'hg evolve --list --content-divergent' to resolve the issue)
   $ hg export 9468a5f5d8b2 | hg import -
--- a/tests/test-prune.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-prune.t	Wed Apr 08 01:17:01 2020 +0800
@@ -481,7 +481,7 @@
 
 update to obsoleted revision and perform prune on unrelated revision:
   $ hg up -r "desc('added b')" --hidden -q
-  updated to hidden changeset 5f6d8a4bf34a
+  updating to a hidden changeset 5f6d8a4bf34a
   (hidden revision '5f6d8a4bf34a' is pruned)
   working directory parent is obsolete! (5f6d8a4bf34a)
 
--- a/tests/test-topic-stack-complex.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-topic-stack-complex.t	Wed Apr 08 01:17:01 2020 +0800
@@ -147,10 +147,10 @@
   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg id -r .
   ec94a1ed1330 tip
-  $ hg up --hidden 'min(predecessors(.))'
+  $ hg up --hidden 'min(precursors(.))'
+  updating to a hidden changeset f1d3649d6a8b
+  (hidden revision 'f1d3649d6a8b' was rewritten as: ec94a1ed1330)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset f1d3649d6a8b
-  (hidden revision 'f1d3649d6a8b' was rewritten as: ec94a1ed1330)
   working directory parent is obsolete! (f1d3649d6a8b)
   (use 'hg evolve' to update to its successor: ec94a1ed1330)
   $ hg amend -d '0 1'
--- a/tests/test-topic.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-topic.t	Wed Apr 08 01:17:01 2020 +0800
@@ -618,7 +618,6 @@
   adding file changes
   added 3 changesets with 3 changes to 1 files
   new changesets 7c34953036d6:ae074045b7a7
-  1 local changesets published
   active topic 'query' is now empty
   (run 'hg update' to get a working copy)
   $ hg topics
--- a/tests/test-touch.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-touch.t	Wed Apr 08 01:17:01 2020 +0800
@@ -34,9 +34,9 @@
   $ hg add b
   $ hg commit -m ab --amend
   $ hg up --hidden 1
+  updating to a hidden changeset [0-9a-f]{12} (re)
+  (hidden revision '*' was rewritten as: *) (glob)
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
-  updated to hidden changeset * (glob)
-  (hidden revision '*' was rewritten as: *) (glob)
   working directory parent is obsolete! (*) (glob)
   (use 'hg evolve' to update to its successor: *) (glob)
   $ hg log -G
--- a/tests/test-uncommit.t	Wed Apr 08 01:16:59 2020 +0800
+++ b/tests/test-uncommit.t	Wed Apr 08 01:17:01 2020 +0800
@@ -240,10 +240,10 @@
 Test phase is preserved, no local changes
 
   $ hg up -C 3 --hidden
+  updating to a hidden changeset 5eb72dbe0cb4
+  (hidden revision '5eb72dbe0cb4' was rewritten as: e8db4aa611f6)
   8 files updated, 0 files merged, 1 files removed, 0 files unresolved
   (leaving bookmark touncommit-bm)
-  updated to hidden changeset 5eb72dbe0cb4
-  (hidden revision '5eb72dbe0cb4' was rewritten as: e8db4aa611f6)
   working directory parent is obsolete! (5eb72dbe0cb4)
   (use 'hg evolve' to update to its successor: e8db4aa611f6)
   $ hg --config extensions.purge= purge
@@ -289,9 +289,9 @@
 Test --all
 
   $ hg up -C 3 --hidden
+  updating to a hidden changeset 5eb72dbe0cb4
+  (hidden revision '5eb72dbe0cb4' has diverged)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  updated to hidden changeset 5eb72dbe0cb4
-  (hidden revision '5eb72dbe0cb4' has diverged)
   working directory parent is obsolete! (5eb72dbe0cb4)
   (5eb72dbe0cb4 has diverged, use 'hg evolve --list --content-divergent' to resolve the issue)
   $ hg --config extensions.purge= purge