Mercurial > evolve
diff tests/test-single-head-obsolescence-topic-B1.t @ 6080:8cc7732a29bf
tests: fix copypaste errors in single-head-obsolescence tests
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 10 Nov 2021 20:28:02 +0300 |
parents | 144d10e74757 |
children | d1a6d83a7109 |
line wrap: on
line diff
--- a/tests/test-single-head-obsolescence-topic-B1.t Wed Oct 27 13:29:22 2021 +0530 +++ b/tests/test-single-head-obsolescence-topic-B1.t Wed Nov 10 20:28:02 2021 +0300 @@ -1,5 +1,5 @@ ========================================= -Testing single head enforcement: Case A-1 +Testing single head enforcement: Case B-1 ========================================= A repository is set to only accept a single head per name (typically named @@ -9,18 +9,18 @@ This case is part of a series of tests checking this behavior. -Category B: Involving obsolescence and topic +Category B: Involving obsolescence with topic TestCase 1: A fully obsolete topic kept visible by another one. .. old-state: .. -.. * 2 changeset changeset on topic X -.. * 2 changeset changeset on topic Y on top of them. +.. * 2 changesets on topic X +.. * 2 changesets on topic Y on top of them. .. .. new-state: .. -.. * 2 changeset changeset on topic Y at the same location -.. * 2 changeset changeset on topic X superseding the other ones +.. * 2 changesets on topic Y at the same location +.. * 2 changesets on topic X superseding the other ones .. .. expected-result: .. @@ -76,11 +76,11 @@ marked working directory as topic: topic-X $ mkcommit A1 $ mkcommit B1 - $ hg debugobsolete `getid "desc(A0)" ` `getid "desc(A1)"` + $ hg debugobsolete `getid "desc(A0)"` `getid "desc(A1)"` 1 new obsolescence markers obsoleted 1 changesets 3 new orphan changesets - $ hg debugobsolete `getid "desc(B0)" ` `getid "desc(B1)"` + $ hg debugobsolete `getid "desc(B0)"` `getid "desc(B1)"` 1 new obsolescence markers obsoleted 1 changesets $ hg log -G --hidden