Show More
@@ -1,12 +1,36 b'' | |||||
1 | $ hg init |
|
1 | $ hg init | |
2 | $ echo "nothing" > a |
|
2 | $ cat << EOF > a | |
|
3 | > Small Mathematical Series. | |||
|
4 | > One | |||
|
5 | > Two | |||
|
6 | > Three | |||
|
7 | > Four | |||
|
8 | > Five | |||
|
9 | > Hop we are done. | |||
|
10 | > EOF | |||
3 | $ hg add a |
|
11 | $ hg add a | |
4 | $ hg commit -m ancestor |
|
12 | $ hg commit -m ancestor | |
5 | $ echo "something" > a |
|
13 | $ cat << EOF > a | |
|
14 | > Small Mathematical Series. | |||
|
15 | > 1 | |||
|
16 | > 2 | |||
|
17 | > 3 | |||
|
18 | > 4 | |||
|
19 | > 5 | |||
|
20 | > Hop we are done. | |||
|
21 | > EOF | |||
6 | $ hg commit -m branch1 |
|
22 | $ hg commit -m branch1 | |
7 | $ hg co 0 |
|
23 | $ hg co 0 | |
8 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
24 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
9 | $ echo "something else" > a |
|
25 | $ cat << EOF > a | |
|
26 | > Small Mathematical Series. | |||
|
27 | > 1 | |||
|
28 | > 2 | |||
|
29 | > 3 | |||
|
30 | > 6 | |||
|
31 | > 8 | |||
|
32 | > Hop we are done. | |||
|
33 | > EOF | |||
10 | $ hg commit -m branch2 |
|
34 | $ hg commit -m branch2 | |
11 | created new head |
|
35 | created new head | |
12 |
|
36 | |||
@@ -19,14 +43,21 b'' | |||||
19 | [1] |
|
43 | [1] | |
20 |
|
44 | |||
21 | $ hg id |
|
45 | $ hg id | |
22 | 32e80765d7fe+75234512624c+ tip |
|
46 | 618808747361+c0c68e4fe667+ tip | |
23 |
|
47 | |||
24 | $ cat a |
|
48 | $ cat a | |
25 | <<<<<<< local: 32e80765d7fe - test: branch2 |
|
49 | Small Mathematical Series. | |
26 | something else |
|
50 | 1 | |
|
51 | 2 | |||
|
52 | 3 | |||
|
53 | <<<<<<< local: 618808747361 - test: branch2 | |||
|
54 | 6 | |||
|
55 | 8 | |||
27 | ======= |
|
56 | ======= | |
28 | something |
|
57 | 4 | |
29 | >>>>>>> other: 75234512624c - test: branch1 |
|
58 | 5 | |
|
59 | >>>>>>> other: c0c68e4fe667 - test: branch1 | |||
|
60 | Hop we are done. | |||
30 |
|
61 | |||
31 | $ hg status |
|
62 | $ hg status | |
32 | M a |
|
63 | M a | |
@@ -46,11 +77,18 b' Verify custom conflict markers' | |||||
46 | [1] |
|
77 | [1] | |
47 |
|
78 | |||
48 | $ cat a |
|
79 | $ cat a | |
|
80 | Small Mathematical Series. | |||
|
81 | 1 | |||
|
82 | 2 | |||
|
83 | 3 | |||
49 | <<<<<<< local: test 2 |
|
84 | <<<<<<< local: test 2 | |
50 | something else |
|
85 | 6 | |
|
86 | 8 | |||
51 | ======= |
|
87 | ======= | |
52 | something |
|
88 | 4 | |
|
89 | 5 | |||
53 | >>>>>>> other: test 1 |
|
90 | >>>>>>> other: test 1 | |
|
91 | Hop we are done. | |||
54 |
|
92 | |||
55 | Verify line splitting of custom conflict marker which causes multiple lines |
|
93 | Verify line splitting of custom conflict marker which causes multiple lines | |
56 |
|
94 | |||
@@ -66,11 +104,18 b' Verify line splitting of custom conflict' | |||||
66 | [1] |
|
104 | [1] | |
67 |
|
105 | |||
68 | $ cat a |
|
106 | $ cat a | |
|
107 | Small Mathematical Series. | |||
|
108 | 1 | |||
|
109 | 2 | |||
|
110 | 3 | |||
69 | <<<<<<< local: test 2 |
|
111 | <<<<<<< local: test 2 | |
70 | something else |
|
112 | 6 | |
|
113 | 8 | |||
71 | ======= |
|
114 | ======= | |
72 | something |
|
115 | 4 | |
|
116 | 5 | |||
73 | >>>>>>> other: test 1 |
|
117 | >>>>>>> other: test 1 | |
|
118 | Hop we are done. | |||
74 |
|
119 | |||
75 | Verify line trimming of custom conflict marker using multi-byte characters |
|
120 | Verify line trimming of custom conflict marker using multi-byte characters | |
76 |
|
121 | |||
@@ -99,11 +144,18 b' Verify line trimming of custom conflict ' | |||||
99 | [1] |
|
144 | [1] | |
100 |
|
145 | |||
101 | $ cat a |
|
146 | $ cat a | |
|
147 | Small Mathematical Series. | |||
|
148 | 1 | |||
|
149 | 2 | |||
|
150 | 3 | |||
102 | <<<<<<< local: 123456789012345678901234567890123456789012345678901234567890\xe3\x81\x82... (esc) |
|
151 | <<<<<<< local: 123456789012345678901234567890123456789012345678901234567890\xe3\x81\x82... (esc) | |
103 | something else |
|
152 | 6 | |
|
153 | 8 | |||
104 | ======= |
|
154 | ======= | |
105 | something |
|
155 | 4 | |
|
156 | 5 | |||
106 | >>>>>>> other: branch1 |
|
157 | >>>>>>> other: branch1 | |
|
158 | Hop we are done. | |||
107 |
|
159 | |||
108 | Verify basic conflict markers |
|
160 | Verify basic conflict markers | |
109 |
|
161 | |||
@@ -119,8 +171,15 b' Verify basic conflict markers' | |||||
119 | [1] |
|
171 | [1] | |
120 |
|
172 | |||
121 | $ cat a |
|
173 | $ cat a | |
|
174 | Small Mathematical Series. | |||
|
175 | 1 | |||
|
176 | 2 | |||
|
177 | 3 | |||
122 | <<<<<<< local |
|
178 | <<<<<<< local | |
123 | something else |
|
179 | 6 | |
|
180 | 8 | |||
124 | ======= |
|
181 | ======= | |
125 | something |
|
182 | 4 | |
|
183 | 5 | |||
126 | >>>>>>> other |
|
184 | >>>>>>> other | |
|
185 | Hop we are done. |
General Comments 0
You need to be logged in to leave comments.
Login now