comparison tests/test-push-checkheads-multibranches-E3.t @ 6381:60daa7887c49

branching: merge test changes from before topic namespaces
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 31 Jan 2023 13:33:28 +0400
parents fc60328270ac ebc2dea354a2
children 1328195f76a9
comparison
equal deleted inserted replaced
6380:130ad27064bc 6381:60daa7887c49
12 TestCase 8: moving only part of the interleaved branch away, creating 2 heads 12 TestCase 8: moving only part of the interleaved branch away, creating 2 heads
13 13
14 .. old-state: 14 .. old-state:
15 .. 15 ..
16 .. * 2-changeset on branch default 16 .. * 2-changeset on branch default
17 .. * 1-changeset on branch Z (between the two other) 17 .. * 1-changeset on branch double//slash (between the two other)
18 .. 18 ..
19 .. new-state: 19 .. new-state:
20 .. 20 ..
21 .. * 2-changeset on branch default, on untouched, the other moved 21 .. * 2-changeset on branch default, on untouched, the other moved
22 .. * 1-changeset on branch Z (at the same location) 22 .. * 1-changeset on branch double//slash (at the same location)
23 .. 23 ..
24 .. expected-result: 24 .. expected-result:
25 .. 25 ..
26 .. * push rejected 26 .. * push rejected
27 .. 27 ..
46 $ setuprepos 46 $ setuprepos
47 creating basic server and client repo 47 creating basic server and client repo
48 updating to branch default 48 updating to branch default
49 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 49 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
50 $ cd client 50 $ cd client
51 $ hg branch Z 51 $ hg branch double//slash
52 marked working directory as branch Z 52 marked working directory as branch double//slash
53 (branches are permanent and global, did you want a bookmark?) 53 (branches are permanent and global, did you want a bookmark?)
54 $ mkcommit B0 54 $ mkcommit B0
55 $ hg branch default --force 55 $ hg branch default --force
56 marked working directory as branch default 56 marked working directory as branch default
57 $ mkcommit C0 57 $ mkcommit C0
73 1 new obsolescence markers 73 1 new obsolescence markers
74 obsoleted 1 changesets 74 obsoleted 1 changesets
75 $ hg log -G --hidden 75 $ hg log -G --hidden
76 @ dc44c53142f0 [default] (draft): C1 76 @ dc44c53142f0 [default] (draft): C1
77 | 77 |
78 | x afc55ba2ce61 [default] (draft): C0 78 | x c7f1f02ffefc [default] (draft): C0
79 | | 79 | |
80 | o 93e5c1321ece [Z] (draft): B0 80 | o 1fd532b11e77 [double//slash] (draft): B0
81 | | 81 | |
82 | o 8aaa48160adc [default] (draft): A0 82 | o 8aaa48160adc [default] (draft): A0
83 |/ 83 |/
84 o 1e4be0697311 [default] (public): root 84 o 1e4be0697311 [default] (public): root
85 85