comparison tests/test-push-checkheads-multibranches-E3.t @ 6395:1328195f76a9 mercurial-5.6

test-compat: merge mercurial-5.7 into mercurial-5.6
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 06 Feb 2023 19:49:33 +0400
parents 08c30eef85d3 60daa7887c49
children b1d010b2e6c4
comparison
equal deleted inserted replaced
6349:3b486ae2e79a 6395:1328195f76a9
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
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 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 (draft): C1 76 @ dc44c53142f0 [default] (draft): C1
77 | 77 |
78 | x afc55ba2ce61 (draft): C0 78 | x c7f1f02ffefc [default] (draft): C0
79 | | 79 | |
80 | o 93e5c1321ece (draft): B0 80 | o 1fd532b11e77 [double//slash] (draft): B0
81 | | 81 | |
82 | o 8aaa48160adc (draft): A0 82 | o 8aaa48160adc [default] (draft): A0
83 |/ 83 |/
84 o 1e4be0697311 (public): root 84 o 1e4be0697311 [default] (public): root
85 85
86 86
87 Actual testing 87 Actual testing
88 -------------- 88 --------------
89 89