comparison tests/test-push-checkheads-multibranches-E3.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
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
70 created new head 70 created new head
71 (consider using topic for lightweight branches. See 'hg help topic') 71 (consider using topic for lightweight branches. See 'hg help topic')
72 $ hg debugobsolete `getid "desc(C0)" ` `getid "desc(C1)"` 72 $ hg debugobsolete `getid "desc(C0)" ` `getid "desc(C1)"`
73 obsoleted 1 changesets 73 obsoleted 1 changesets
74 $ hg log -G --hidden 74 $ hg log -G --hidden
75 @ dc44c53142f0 (draft): C1 75 @ dc44c53142f0 [default] (draft): C1
76 | 76 |
77 | x afc55ba2ce61 (draft): C0 77 | x c7f1f02ffefc [default] (draft): C0
78 | | 78 | |
79 | o 93e5c1321ece (draft): B0 79 | o 1fd532b11e77 [double//slash] (draft): B0
80 | | 80 | |
81 | o 8aaa48160adc (draft): A0 81 | o 8aaa48160adc [default] (draft): A0
82 |/ 82 |/
83 o 1e4be0697311 (public): root 83 o 1e4be0697311 [default] (public): root
84 84
85 85
86 Actual testing 86 Actual testing
87 -------------- 87 --------------
88 88