Mercurial > evolve
changeset 6691:ff935fca6cb1 mercurial-5.2
test-compat: merge mercurial-5.3 into mercurial-5.2
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 05 Feb 2024 15:10:57 -0300 |
parents | 81853c544896 (diff) 6c653a3160ff (current diff) |
children | cdf929e69cde bee80cf468b1 |
files | |
diffstat | 4 files changed, 26 insertions(+), 29 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-evolve-obshistory-amend.t Sun Feb 04 20:40:31 2024 -0300 +++ b/tests/test-evolve-obshistory-amend.t Mon Feb 05 15:10:57 2024 -0300 @@ -96,7 +96,7 @@ $ hg obslog --no-graph --patch 4ae3a4151de9 4ae3a4151de9 (2) A1 - rewritten(description, content) from 471f378eab4c using amend by test (Thu Jan 01 00:00:00 1970 +0000) + rewritten(description, content) from 471f378eab4c using amend by test (Thu Jan 01 00:00:00 1970 +0000) diff -r 471f378eab4c -r 4ae3a4151de9 changeset-description --- a/changeset-description +++ b/changeset-description @@ -105,7 +105,7 @@ +A1 + +Better commit message - + diff -r 471f378eab4c -r 4ae3a4151de9 A0 --- a/A0 Thu Jan 01 00:00:00 1970 +0000 +++ b/A0 Thu Jan 01 00:00:00 1970 +0000 @@ -234,12 +234,12 @@ 4ae3a4151de9 (1) A1 471f378eab4c - rewritten(description, content) as 4ae3a4151de9 using amend by test (Thu Jan 01 00:00:00 1970 +0000) + rewritten(description, content) as 4ae3a4151de9 using amend by test (Thu Jan 01 00:00:00 1970 +0000) (No patch available, context is not local) $ hg obslog -R $TESTTMP/server --no-graph --patch 4ae3a4151de9 4ae3a4151de9 (1) A1 - rewritten(description, content) from 471f378eab4c using amend by test (Thu Jan 01 00:00:00 1970 +0000) + rewritten(description, content) from 471f378eab4c using amend by test (Thu Jan 01 00:00:00 1970 +0000) (No patch available, predecessor is unknown locally) 471f378eab4c @@ -455,22 +455,22 @@ $ hg obslog -R $TESTTMP/server --no-graph --patch 92210308515b 92210308515b (2) A3 - reworded(description) from 4f1685185907 using amend by test (Thu Jan 01 00:00:01 1970 +0000) + reworded(description) from 4f1685185907 using amend by test (Thu Jan 01 00:00:01 1970 +0000) (No patch available, predecessor is unknown locally) 4f1685185907 - reworded(description) from 4ae3a4151de9 using amend by test (Thu Jan 01 00:00:00 1970 +0000) + reworded(description) from 4ae3a4151de9 using amend by test (Thu Jan 01 00:00:00 1970 +0000) (No patch available, context is not local) 4ae3a4151de9 (1) A1 - rewritten(description, content) from 471f378eab4c using amend by test (Thu Jan 01 00:00:00 1970 +0000) + rewritten(description, content) from 471f378eab4c using amend by test (Thu Jan 01 00:00:00 1970 +0000) (No patch available, predecessor is unknown locally) 471f378eab4c $ hg obslog -R $TESTTMP/server --no-graph -f --patch 92210308515b 92210308515b (2) A3 - reworded(description) from 4ae3a4151de9 using amend by test (between Thu Jan 01 00:00:00 1970 +0000 and Thu Jan 01 00:00:01 1970 +0000) + reworded(description) from 4ae3a4151de9 using amend by test (between Thu Jan 01 00:00:00 1970 +0000 and Thu Jan 01 00:00:01 1970 +0000) diff -r 4ae3a4151de9 -r 92210308515b changeset-description --- a/changeset-description +++ b/changeset-description @@ -480,7 +480,7 @@ -Better commit message +Better better better commit message - + 4ae3a4151de9 (1) A1
--- a/tests/test-evolve-obshistory-split.t Sun Feb 04 20:40:31 2024 -0300 +++ b/tests/test-evolve-obshistory-split.t Mon Feb 05 15:10:57 2024 -0300 @@ -300,7 +300,7 @@ 471597cad322 split(parent, content) as 337fec4d2edc, f257fde29c7a using split by test (Thu Jan 01 00:00:00 1970 +0000) - note: testing split + note: testing split (No patch available, context is not local) 337fec4d2edc (1) A0 @@ -343,14 +343,14 @@ $ hg obslog -R $TESTTMP/server --no-graph --all --patch tip f257fde29c7a (2) A0 split(parent, content) from 471597cad322 using split by test (Thu Jan 01 00:00:00 1970 +0000) - note: testing split + note: testing split (No patch available, predecessor is unknown locally) 471597cad322 337fec4d2edc (1) A0 split(parent, content) from 471597cad322 using split by test (Thu Jan 01 00:00:00 1970 +0000) - note: testing split + note: testing split (No patch available, predecessor is unknown locally) $ hg obslog -R $TESTTMP/server --no-graph -f --all --patch tip
--- a/tests/test-evolve-orphan-merge.t Sun Feb 04 20:40:31 2024 -0300 +++ b/tests/test-evolve-orphan-merge.t Mon Feb 05 15:10:57 2024 -0300 @@ -520,16 +520,21 @@ $ hg evolve -r . move:[28] merged l and x atop:[0] added hgignore - evolution of 28:fb8fe870ae7d created no changes to commit - working directory is now at 8fa14d15e168 + working directory is now at b61ba77b924a $ hg glog - @ 0:8fa14d15e168 added hgignore + @ 29:b61ba77b924a merged l and x + | () draft + o 0:8fa14d15e168 added hgignore () draft 7) When one parent is pruned without successor and has no parent ---------------------------------------------------------------- + $ hg prune -r . + 0 files updated, 0 files merged, 0 files removed, 0 files unresolved + working directory is now at 8fa14d15e168 + 1 changesets pruned $ hg up null 0 files updated, 0 files merged, 1 files removed, 0 files unresolved @@ -543,9 +548,9 @@ (branch merge, don't forget to commit) $ hg ci -m "merge commit" $ hg glog - @ 30:32beb84b9dbc merge commit + @ 31:32beb84b9dbc merge commit |\ () draft - | o 29:f3ba8b99bb6f added foo + | o 30:f3ba8b99bb6f added foo | () draft o 0:8fa14d15e168 added hgignore () draft @@ -555,9 +560,9 @@ 1 new orphan changesets $ hg glog - @ 30:32beb84b9dbc merge commit + @ 31:32beb84b9dbc merge commit |\ () draft orphan - | x 29:f3ba8b99bb6f added foo + | x 30:f3ba8b99bb6f added foo | () draft o 0:8fa14d15e168 added hgignore () draft @@ -575,12 +580,12 @@ just remove that chain. $ hg evolve -r . - move:[30] merge commit + move:[31] merge commit atop:[-1] working directory is now at d2a03dd8c951 $ hg glog - @ 31:d2a03dd8c951 merge commit + @ 32:d2a03dd8c951 merge commit | () draft o 0:8fa14d15e168 added hgignore () draft
--- a/tests/test-namespaces-precheck.t Sun Feb 04 20:40:31 2024 -0300 +++ b/tests/test-namespaces-precheck.t Mon Feb 05 15:10:57 2024 -0300 @@ -84,13 +84,5 @@ abort: refusing to change branch of changesets with these topic namespaces: foo (modify experimental.tns-allow-rewrite to allow rewriting changesets from these topic namespaces) [255] - $ hg rebase -r . -d null - abort: refusing to rebase changesets with these topic namespaces: foo - (modify experimental.tns-allow-rewrite to allow rewriting changesets from these topic namespaces) - [255] - $ hg histedit - abort: refusing to edit changesets with these topic namespaces: foo - (modify experimental.tns-allow-rewrite to allow rewriting changesets from these topic namespaces) - [255] $ cd ..