comparison tests/test-single-head-obsolescence-topic-B2.t @ 6315:ebc2dea354a2

tests: switch to double//slash branch in many tests We want to make sure cases with double slash in branch name will continue to be handled correctly, and for that we need more tests that use unusual branch names like this.
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 30 Oct 2022 15:22:16 +0400
parents 8cc7732a29bf
children 60daa7887c49
comparison
equal deleted inserted replaced
6235:318b81560f8c 6315:ebc2dea354a2
55 $ hg topic -r . topic-X 55 $ hg topic -r . topic-X
56 switching to topic topic-X 56 switching to topic topic-X
57 changed topic on 1 changesets to "topic-X" 57 changed topic on 1 changesets to "topic-X"
58 $ hg strip --config extensions.strip= --hidden 'hidden()' --no-backup # clean old A0 58 $ hg strip --config extensions.strip= --hidden 'hidden()' --no-backup # clean old A0
59 $ mkcommit B0 59 $ mkcommit B0
60 $ hg branch Z 60 $ hg branch double//slash
61 marked working directory as branch Z 61 marked working directory as branch double//slash
62 $ hg topic topic-Y 62 $ hg topic topic-Y
63 $ mkcommit C0 63 $ mkcommit C0
64 active topic 'topic-Y' grew its first changeset 64 active topic 'topic-Y' grew its first changeset
65 (see 'hg help topics' for more information) 65 (see 'hg help topics' for more information)
66 $ mkcommit D0 66 $ mkcommit D0
83 obsoleted 1 changesets 83 obsoleted 1 changesets
84 2 new orphan changesets 84 2 new orphan changesets
85 $ hg log -G --hidden 85 $ hg log -G --hidden
86 @ 5a4735b75167 [default:topic-X] (draft): B1 86 @ 5a4735b75167 [default:topic-X] (draft): B1
87 | 87 |
88 | * 02490b2dd1c5 [Z:topic-Y] (draft): D0 88 | * 3fd0fd6ca824 [double//slash:topic-Y] (draft): D0
89 | | 89 | |
90 | * 447ad8382abc [Z:topic-Y] (draft): C0 90 | * 5997ab5a8285 [double//slash:topic-Y] (draft): C0
91 | | 91 | |
92 | x 1c1f62b56685 [default:topic-X] (draft): B0 92 | x 1c1f62b56685 [default:topic-X] (draft): B0
93 | | 93 | |
94 | o 5a47a98cd8e5 [default:topic-X] (draft): A0 94 | o 5a47a98cd8e5 [default:topic-X] (draft): A0
95 |/ 95 |/