# HG changeset patch # User Anton Shestakov # Date 1640619604 -10800 # Node ID 5e14782908e4bcb6bf7caa7e3edc779c6fa5e8e4 # Parent dbedbcf30f6b4f84551f47477db4c9b1d0d0c20b tests: update for obsolescence-aware head computation in core CORE-TEST-OUTPUT-UPDATE: f8f2ecdde4b5 CORE-TEST-OUTPUT-UPDATE: 053a5bf508da diff -r dbedbcf30f6b -r 5e14782908e4 tests/test-amend.t --- a/tests/test-amend.t Wed Feb 02 14:54:30 2022 +0300 +++ b/tests/test-amend.t Mon Dec 27 18:40:04 2021 +0300 @@ -218,6 +218,7 @@ $ echo edited_a > a $ hg ci -m "edited a" 1 new orphan changesets + created new head $ hg debugobsolete $(hg id -ir 0 --debug) $(hg id -ir 2 --debug) 1 new obsolescence markers 2 new content-divergent changesets diff -r dbedbcf30f6b -r 5e14782908e4 tests/test-evolve-content-divergent-user-independent-resolution.t --- a/tests/test-evolve-content-divergent-user-independent-resolution.t Wed Feb 02 14:54:30 2022 +0300 +++ b/tests/test-evolve-content-divergent-user-independent-resolution.t Mon Dec 27 18:40:04 2021 +0300 @@ -35,7 +35,7 @@ $ hg push -q $ cd ../local - $ hg push -q + $ hg push --force -q 2 new content-divergent changesets $ hg pull -q 2 new content-divergent changesets diff -r dbedbcf30f6b -r 5e14782908e4 tests/test-evolve-obshistory.t --- a/tests/test-evolve-obshistory.t Wed Feb 02 14:54:30 2022 +0300 +++ b/tests/test-evolve-obshistory.t Mon Dec 27 18:40:04 2021 +0300 @@ -151,7 +151,7 @@ 2 new obsolescence markers obsoleted 1 changesets new changesets 7a230b46bf61 (1 drafts) - (run 'hg heads' to see heads, 'hg merge' to merge) + (run 'hg heads' to see heads) working directory parent is obsolete! (471f378eab4c) (use 'hg evolve' to update to its successor: 7a230b46bf61) Check that obslog works with markers pointing to missing local changectx diff -r dbedbcf30f6b -r 5e14782908e4 tests/test-evolve-progress.t --- a/tests/test-evolve-progress.t Wed Feb 02 14:54:30 2022 +0300 +++ b/tests/test-evolve-progress.t Mon Dec 27 18:40:04 2021 +0300 @@ -101,6 +101,8 @@ committing changelog updating the branch cache obscache is out of date + invalid branch cache (served): tip differs + invalid branch cache (served.hidden): tip differs resolving manifests branchmerge: False, force: False, partial: False ancestor: df5d742141b0, local: df5d742141b0+, remote: 152c368c622b @@ -175,6 +177,7 @@ updating the branch cache obscache is out of date invalid branch cache (served): tip differs + invalid branch cache (served.hidden): tip differs resolving manifests branchmerge: False, force: False, partial: False ancestor: c6e6fdb1d046, local: c6e6fdb1d046+, remote: f8d7d38c0a88 diff -r dbedbcf30f6b -r 5e14782908e4 tests/test-evolve-templates.t --- a/tests/test-evolve-templates.t Wed Feb 02 14:54:30 2022 +0300 +++ b/tests/test-evolve-templates.t Mon Dec 27 18:40:04 2021 +0300 @@ -1080,7 +1080,7 @@ 2 new obsolescence markers obsoleted 1 changesets new changesets 7a230b46bf61 (1 drafts) - (run 'hg heads' to see heads, 'hg merge' to merge) + (run 'hg heads' to see heads) working directory parent is obsolete! (471f378eab4c) (use 'hg evolve' to update to its successor: 7a230b46bf61) $ hg log --hidden -G diff -r dbedbcf30f6b -r 5e14782908e4 tests/test-obsolete.t --- a/tests/test-obsolete.t Wed Feb 02 14:54:30 2022 +0300 +++ b/tests/test-obsolete.t Mon Dec 27 18:40:04 2021 +0300 @@ -134,6 +134,7 @@ (use 'hg evolve' to update to its successor: 725c380fe99b) $ mkcommit d # 5 (on 3) 1 new orphan changesets + created new head $ qlog -r 'obsolete()' 3 - 0d3f46688ccc diff -r dbedbcf30f6b -r 5e14782908e4 tests/test-sharing.t --- a/tests/test-sharing.t Wed Feb 02 14:54:30 2022 +0300 +++ b/tests/test-sharing.t Mon Dec 27 18:40:04 2021 +0300 @@ -104,8 +104,6 @@ obsoleted 1 changesets new changesets 522d503432a2 (1 drafts) 1 files updated, 0 files merged, 0 files removed, 0 files unresolved - updated to "522d503432a2: fix bug 37" - 1 other heads for branch "default" Figure SG03 $ hg -R ../dev-repo shortlog --hidden -G @@ -138,8 +136,6 @@ $ cd ../test-repo $ hg update 1 files updated, 0 files merged, 0 files removed, 0 files unresolved - updated to "7b49f864d655: fix bug 37" - 1 other heads for branch "default" $ hg shortlog --hidden -G @ 4:7b49 draft fix bug 37 |