--- a/tests/test-amend.t Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-amend.t Fri May 08 22:50:09 2020 +0800
@@ -192,7 +192,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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-discovery-obshashrange.t Fri May 08 22:50:09 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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-content-divergent-basic.t Fri May 08 22:50:09 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 'predecessors(.)' --hidden
+ updating to a hidden changeset 34e78e1673c1
+ (hidden revision '34e78e1673c1' was rewritten as: c9d0d72972b0)
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
- updated to hidden changeset 34e78e1673c1
- (hidden revision '34e78e1673c1' was rewritten as: c9d0d72972b0)
working directory parent is obsolete! (34e78e1673c1)
(use 'hg evolve' to update to its successor: c9d0d72972b0)
$ echo babar > d
@@ -372,9 +372,9 @@
$ hg amend -m "bar to d, expect beers"
$ hg up 'predecessors(.)' --hidden
+ updating to a hidden changeset cfd599de811a
+ (hidden revision 'cfd599de811a' was rewritten as: ba0941ffb747)
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
- updated to hidden changeset cfd599de811a
- (hidden revision 'cfd599de811a' was rewritten as: ba0941ffb747)
working directory parent is obsolete! (cfd599de811a)
(use 'hg evolve' to update to its successor: ba0941ffb747)
$ 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: 6aa6f90a9f68)
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
- updated to hidden changeset 867e43582046
- (hidden revision '867e43582046' was rewritten as: 6aa6f90a9f68)
working directory parent is obsolete! (867e43582046)
(use 'hg evolve' to update to its successor: 6aa6f90a9f68)
$ 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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-content-divergent-corner-cases.t Fri May 08 22:50:09 2020 +0800
@@ -415,9 +415,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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-content-divergent-first-changeset.t Fri May 08 22:50:09 2020 +0800
@@ -25,7 +25,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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-content-divergent-interrupted.t Fri May 08 22:50:09 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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-content-divergent-meta.t Fri May 08 22:50:09 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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-content-divergent-relocation.t Fri May 08 22:50:09 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
------------------------------------------------------------------------------
@@ -158,9 +157,9 @@
$ hg amend -m "added foo to x"
$ hg up 'predecessors(.)' --hidden
+ updating to a hidden changeset 801b5920c7ea
+ (hidden revision '801b5920c7ea' was rewritten as: 5cf74a13db18)
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
- updated to hidden changeset 801b5920c7ea
- (hidden revision '801b5920c7ea' was rewritten as: 5cf74a13db18)
working directory parent is obsolete! (801b5920c7ea)
(use 'hg evolve' to update to its successor: 5cf74a13db18)
$ hg rebase -r . -d 'desc("added d")' --config experimental.evolution.allowdivergence=True
@@ -271,9 +270,9 @@
$ hg amend
$ hg up 'predecessors(.)' --hidden
+ updating to a hidden changeset ecf1d3992eb4
+ (hidden revision 'ecf1d3992eb4' was rewritten as: 9c32d35206fb)
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
- updated to hidden changeset ecf1d3992eb4
- (hidden revision 'ecf1d3992eb4' was rewritten as: 9c32d35206fb)
working directory parent is obsolete! (ecf1d3992eb4)
(use 'hg evolve' to update to its successor: 9c32d35206fb)
$ hg rebase -r . -d 'desc("added foo to x")' --config experimental.evolution.allowdivergence=True
@@ -424,9 +423,9 @@
$ hg amend
$ hg up 'predecessors(.)' --hidden
+ updating to a hidden changeset 2048a66e8834
+ (hidden revision '2048a66e8834' was rewritten as: 9bc2ace42175)
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
- updated to hidden changeset 2048a66e8834
- (hidden revision '2048a66e8834' was rewritten as: 9bc2ace42175)
working directory parent is obsolete! (2048a66e8834)
(use 'hg evolve' to update to its successor: 9bc2ace42175)
$ hg rebase -r . -d 'desc("added y")' --config experimental.evolution.allowdivergence=True
@@ -623,7 +622,7 @@
$ hg rebase -r . -d 'desc("upstream")'
rebasing 2:898ddd4443b3 "divergent" (tip)
$ hg --hidden co 2 -q
- updated to hidden changeset 898ddd4443b3
+ updating to a hidden changeset 898ddd4443b3
(hidden revision '898ddd4443b3' was rewritten as: befae6138569)
working directory parent is obsolete! (898ddd4443b3)
--- a/tests/test-evolve-obshistory-amend-then-fold.t Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-obshistory-amend-then-fold.t Fri May 08 22:50:09 2020 +0800
@@ -401,15 +401,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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-obshistory-amend.t Fri May 08 22:50:09 2020 +0800
@@ -201,9 +201,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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-obshistory-content-divergent.t Fri May 08 22:50:09 2020 +0800
@@ -40,9 +40,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"
@@ -429,8 +429,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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-obshistory-fold.t Fri May 08 22:50:09 2020 +0800
@@ -324,9 +324,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
@@ -334,9 +334,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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-obshistory-lots-of-splits.t Fri May 08 22:50:09 2020 +0800
@@ -434,8 +434,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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-obshistory-phase-divergent.t Fri May 08 22:50:09 2020 +0800
@@ -36,9 +36,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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-obshistory-prune.t Fri May 08 22:50:09 2020 +0800
@@ -109,9 +109,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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-obshistory-split.t Fri May 08 22:50:09 2020 +0800
@@ -255,9 +255,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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-phase-divergence.t Fri May 08 22:50:09 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
@@ -432,7 +430,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
@@ -454,7 +451,6 @@
searching for changes
no changes found
1 new phase-divergent changesets
- 1 local changesets published
$ hg glog
@ 7:2c3560aedead foo to bar
@@ -585,7 +581,6 @@
searching for changes
no changes found
1 new phase-divergent changesets
- 1 local changesets published
$ hg debugobsolete
4d1169d82e47b11570c7f380790da5f89f7cabc2 98bb3a6cfe1a3d98d0959e9d42322f38313a08f3 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '1', 'operation': 'amend', 'user': 'test'}
--- a/tests/test-evolve-public-content-divergent-corner-cases.t Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-public-content-divergent-corner-cases.t Fri May 08 22:50:09 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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-public-content-divergent-main.t Fri May 08 22:50:09 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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-templates.t Fri May 08 22:50:09 2020 +0800
@@ -68,9 +68,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)
@@ -166,9 +166,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)
@@ -353,9 +353,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)
@@ -496,9 +496,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)
@@ -526,9 +526,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)
@@ -641,9 +641,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"
@@ -682,9 +682,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)
@@ -860,9 +860,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
@@ -888,9 +888,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
@@ -926,9 +926,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
@@ -1201,9 +1201,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
@@ -1608,9 +1608,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=
@@ -1685,9 +1685,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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve-topic.t Fri May 08 22:50:09 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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-evolve.t Fri May 08 22:50:09 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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-obsolete.t Fri May 08 22:50:09 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
@@ -731,9 +731,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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-prune.t Fri May 08 22:50:09 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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-topic-stack-complex.t Fri May 08 22:50:09 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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-topic.t Fri May 08 22:50:09 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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-touch.t Fri May 08 22:50:09 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 Fri May 08 22:18:15 2020 +0800
+++ b/tests/test-uncommit.t Fri May 08 22:50:09 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