# HG changeset patch # User Anton Shestakov # Date 1637270806 -10800 # Node ID 2437b5acdb4b60ab528ae0bc7f05013ab4b1eedb # Parent fff5ed792d8f2275ef1d6b85d76eadf669dfda54# Parent d76fefa7355a75699cb1b2f53eac913538f931df test-compat: merge mercurial-5.3 into mercurial-5.2 diff -r d76fefa7355a -r 2437b5acdb4b tests/test-evolve-obshistory-amend.t --- a/tests/test-evolve-obshistory-amend.t Fri Nov 19 00:11:59 2021 +0300 +++ b/tests/test-evolve-obshistory-amend.t Fri Nov 19 00:26:46 2021 +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 diff -r d76fefa7355a -r 2437b5acdb4b tests/test-evolve-obshistory-split.t --- a/tests/test-evolve-obshistory-split.t Fri Nov 19 00:11:59 2021 +0300 +++ b/tests/test-evolve-obshistory-split.t Fri Nov 19 00:26:46 2021 +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 diff -r d76fefa7355a -r 2437b5acdb4b tests/test-evolve-orphan-merge.t --- a/tests/test-evolve-orphan-merge.t Fri Nov 19 00:11:59 2021 +0300 +++ b/tests/test-evolve-orphan-merge.t Fri Nov 19 00:26:46 2021 +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