comparison tests/test-single-head-obsolescence-named-branch-A2.t @ 6401:716912541759 mercurial-5.0

test-compat: merge mercurial-5.1 into mercurial-5.0
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 07 Feb 2023 10:51:10 +0400
parents b1d010b2e6c4
children
comparison
equal deleted inserted replaced
6355:4cf673319dfc 6401:716912541759
13 TestCase 2: A branch is split in two, effectively creating two heads 13 TestCase 2: A branch is split in two, effectively creating two heads
14 14
15 .. old-state: 15 .. old-state:
16 .. 16 ..
17 .. * 2 changesets on branch default 17 .. * 2 changesets on branch default
18 .. * 2 changesets on branch Z on top of them. 18 .. * 2 changesets on branch double//slash on top of them.
19 .. 19 ..
20 .. new-state: 20 .. new-state:
21 .. 21 ..
22 .. * 2 changesets on branch Z at the same location 22 .. * 2 changesets on branch double//slash at the same location
23 .. * 1 changeset on branch default unchanged 23 .. * 1 changeset on branch default unchanged
24 .. * 1 changeset on branch default superseding the other ones 24 .. * 1 changeset on branch default superseding the other ones
25 .. 25 ..
26 .. expected-result: 26 .. expected-result:
27 .. 27 ..
28 .. * two heads detected 28 .. * two heads detected
29 .. 29 ..
30 .. graph-summary: 30 .. graph-summary:
31 .. 31 ..
32 .. D ● (branch Z) 32 .. D ● (branch double//slash)
33 .. | 33 .. |
34 .. C ● (branch Z) 34 .. C ● (branch double//slash)
35 .. | 35 .. |
36 .. B ø⇠◔ B' 36 .. B ø⇠◔ B'
37 .. | | 37 .. | |
38 .. A ● | 38 .. A ● |
39 .. |/ 39 .. |/
51 creating basic server and client repo 51 creating basic server and client repo
52 updating to branch default 52 updating to branch default
53 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 53 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
54 $ cd client 54 $ cd client
55 $ mkcommit B0 55 $ mkcommit B0
56 $ hg branch Z 56 $ hg branch double//slash
57 marked working directory as branch Z 57 marked working directory as branch double//slash
58 (branches are permanent and global, did you want a bookmark?) 58 (branches are permanent and global, did you want a bookmark?)
59 $ mkcommit C0 59 $ mkcommit C0
60 $ mkcommit D0 60 $ mkcommit D0
61 $ hg push --new-branch 61 $ hg push --new-branch
62 pushing to $TESTTMP/A2/server 62 pushing to $TESTTMP/A2/server
74 obsoleted 1 changesets 74 obsoleted 1 changesets
75 2 new orphan changesets 75 2 new orphan changesets
76 $ hg log -G --hidden 76 $ hg log -G --hidden
77 @ 25c56d33e4c4 [default] (draft): B1 77 @ 25c56d33e4c4 [default] (draft): B1
78 | 78 |
79 | * cdf1dbb37a67 [Z] (draft): D0 79 | * ce55942d01c7 [double//slash] (draft): D0
80 | | 80 | |
81 | * 3213e3e16c67 [Z] (draft): C0 81 | * 33628c681bad [double//slash] (draft): C0
82 | | 82 | |
83 | x d73caddc5533 [default] (draft): B0 83 | x d73caddc5533 [default] (draft): B0
84 | | 84 | |
85 | o 8aaa48160adc [default] (draft): A0 85 | o 8aaa48160adc [default] (draft): A0
86 |/ 86 |/