--- a/tests/test-discovery-obshashrange.t Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-discovery-obshashrange.t Thu Jan 23 17:40:59 2020 +0700
@@ -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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-content-divergent-basic.t Thu Jan 23 17:40:59 2020 +0700
@@ -204,9 +204,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
@@ -310,9 +310,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
@@ -370,9 +370,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
@@ -480,9 +480,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
@@ -573,9 +573,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
@@ -750,9 +750,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-content-divergent-corner-cases.t Thu Jan 23 17:40:59 2020 +0700
@@ -313,9 +313,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-content-divergent-first-changeset.t Thu Jan 23 17:40:59 2020 +0700
@@ -20,7 +20,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-content-divergent-interrupted.t Thu Jan 23 17:40:59 2020 +0700
@@ -54,9 +54,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)
@@ -277,9 +277,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
@@ -421,9 +421,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-content-divergent-meta.t Thu Jan 23 17:40:59 2020 +0700
@@ -112,7 +112,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-content-divergent-relocation.t Thu Jan 23 17:40:59 2020 +0700
@@ -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-issue5958.t Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-issue5958.t Thu Jan 23 17:40:59 2020 +0700
@@ -108,9 +108,9 @@
atop:[0] add r0
working directory is now at 545776b4e79f
$ hg update --hidden --rev 'predecessors(.)'
+ updating to a hidden changeset 459c64f7eaad
+ (hidden revision '459c64f7eaad' was rewritten as: 545776b4e79f)
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
- updated to hidden changeset 459c64f7eaad
- (hidden revision '459c64f7eaad' was rewritten as: 545776b4e79f)
working directory parent is obsolete! (459c64f7eaad)
(use 'hg evolve' to update to its successor: 545776b4e79f)
$ hg amend --date "0 3"
@@ -159,9 +159,9 @@
date: updated one side to an newer value
$ hg update --hidden --rev 'predecessors(.)'
+ updating to a hidden changeset 7a09c7a39546
+ (hidden revision '7a09c7a39546' was rewritten as: 39c4200c0d94)
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
- updated to hidden changeset 7a09c7a39546
- (hidden revision '7a09c7a39546' was rewritten as: 39c4200c0d94)
working directory parent is obsolete! (7a09c7a39546)
(use 'hg evolve' to update to its successor: 39c4200c0d94)
$ hg amend --date "120 0"
@@ -210,9 +210,9 @@
$ hg amend --date "235 0"
$ hg update --hidden --rev 'predecessors(.)'
+ updating to a hidden changeset 06cde6010a51
+ (hidden revision '06cde6010a51' was rewritten as: a7412ff9bfb3)
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
- updated to hidden changeset 06cde6010a51
- (hidden revision '06cde6010a51' was rewritten as: a7412ff9bfb3)
working directory parent is obsolete! (06cde6010a51)
(use 'hg evolve' to update to its successor: a7412ff9bfb3)
$ hg amend --date "784 0"
--- a/tests/test-evolve-obshistory-amend-then-fold.t Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-obshistory-amend-then-fold.t Thu Jan 23 17:40:59 2020 +0700
@@ -231,15 +231,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-obshistory-amend.t Thu Jan 23 17:40:59 2020 +0700
@@ -199,9 +199,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-obshistory-content-divergent.t Thu Jan 23 17:40:59 2020 +0700
@@ -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 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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-obshistory-fold.t Thu Jan 23 17:40:59 2020 +0700
@@ -229,9 +229,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
@@ -239,9 +239,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-obshistory-lots-of-splits.t Thu Jan 23 17:40:59 2020 +0700
@@ -281,8 +281,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-obshistory-phase-divergent.t Thu Jan 23 17:40:59 2020 +0700
@@ -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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-obshistory-prune.t Thu Jan 23 17:40:59 2020 +0700
@@ -106,9 +106,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-obshistory-split.t Thu Jan 23 17:40:59 2020 +0700
@@ -203,9 +203,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-phase-divergence.t Thu Jan 23 17:40:59 2020 +0700
@@ -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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-public-content-divergent-corner-cases.t Thu Jan 23 17:40:59 2020 +0700
@@ -70,7 +70,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-public-content-divergent-main.t Thu Jan 23 17:40:59 2020 +0700
@@ -48,7 +48,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)
@@ -142,7 +142,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-templates.t Thu Jan 23 17:40:59 2020 +0700
@@ -63,9 +63,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)
@@ -156,9 +156,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)
@@ -332,9 +332,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)
@@ -463,9 +463,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)
@@ -490,9 +490,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)
@@ -597,9 +597,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"
@@ -638,9 +638,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)
@@ -802,9 +802,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
@@ -827,9 +827,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
@@ -861,9 +861,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
@@ -1120,9 +1120,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
@@ -1486,9 +1486,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=
@@ -1551,9 +1551,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve-topic.t Thu Jan 23 17:40:59 2020 +0700
@@ -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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-evolve.t Thu Jan 23 17:40:59 2020 +0700
@@ -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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-obsolete.t Thu Jan 23 17:40:59 2020 +0700
@@ -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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-prune.t Thu Jan 23 17:40:59 2020 +0700
@@ -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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-topic-stack-complex.t Thu Jan 23 17:40:59 2020 +0700
@@ -146,10 +146,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-topic.t Thu Jan 23 17:40:59 2020 +0700
@@ -604,7 +604,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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-touch.t Thu Jan 23 17:40:59 2020 +0700
@@ -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 Thu Jan 23 17:40:57 2020 +0700
+++ b/tests/test-uncommit.t Thu Jan 23 17:40:59 2020 +0700
@@ -238,10 +238,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
@@ -287,9 +287,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