##// END OF EJS Templates
test-merge-types.t: add tests for :merge-local/:merge-other with symlinks...
Siddharth Agarwal -
r26892:4b966aaa default
parent child Browse files
Show More
@@ -1,395 +1,439 b''
1 #require symlink execbit
1 #require symlink execbit
2
2
3 $ tellmeabout() {
3 $ tellmeabout() {
4 > if [ -h $1 ]; then
4 > if [ -h $1 ]; then
5 > echo $1 is a symlink:
5 > echo $1 is a symlink:
6 > $TESTDIR/readlink.py $1
6 > $TESTDIR/readlink.py $1
7 > elif [ -x $1 ]; then
7 > elif [ -x $1 ]; then
8 > echo $1 is an executable file with content:
8 > echo $1 is an executable file with content:
9 > cat $1
9 > cat $1
10 > else
10 > else
11 > echo $1 is a plain file with content:
11 > echo $1 is a plain file with content:
12 > cat $1
12 > cat $1
13 > fi
13 > fi
14 > }
14 > }
15
15
16 $ hg init test1
16 $ hg init test1
17 $ cd test1
17 $ cd test1
18
18
19 $ echo a > a
19 $ echo a > a
20 $ hg ci -Aqmadd
20 $ hg ci -Aqmadd
21 $ chmod +x a
21 $ chmod +x a
22 $ hg ci -mexecutable
22 $ hg ci -mexecutable
23
23
24 $ hg up -q 0
24 $ hg up -q 0
25 $ rm a
25 $ rm a
26 $ ln -s symlink a
26 $ ln -s symlink a
27 $ hg ci -msymlink
27 $ hg ci -msymlink
28 created new head
28 created new head
29
29
30 Symlink is local parent, executable is other:
30 Symlink is local parent, executable is other:
31
31
32 $ hg merge --debug
32 $ hg merge --debug
33 searching for copies back to rev 1
33 searching for copies back to rev 1
34 resolving manifests
34 resolving manifests
35 branchmerge: True, force: False, partial: False
35 branchmerge: True, force: False, partial: False
36 ancestor: c334dc3be0da, local: 521a1e40188f+, remote: 3574f3e69b1c
36 ancestor: c334dc3be0da, local: 521a1e40188f+, remote: 3574f3e69b1c
37 preserving a for resolve of a
37 preserving a for resolve of a
38 a: versions differ -> m (premerge)
38 a: versions differ -> m (premerge)
39 picked tool ':merge' for a (binary False symlink True)
39 picked tool ':merge' for a (binary False symlink True)
40 merging a
40 merging a
41 my a@521a1e40188f+ other a@3574f3e69b1c ancestor a@c334dc3be0da
41 my a@521a1e40188f+ other a@3574f3e69b1c ancestor a@c334dc3be0da
42 warning: internal :merge cannot merge symlinks for a
42 warning: internal :merge cannot merge symlinks for a
43 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
43 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
44 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
44 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
45 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
45 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
46 [1]
46 [1]
47
47
48 $ tellmeabout a
48 $ tellmeabout a
49 a is a symlink:
49 a is a symlink:
50 a -> symlink
50 a -> symlink
51 $ hg resolve a --tool internal:other
51 $ hg resolve a --tool internal:other
52 (no more unresolved files)
52 (no more unresolved files)
53 $ tellmeabout a
53 $ tellmeabout a
54 a is an executable file with content:
54 a is an executable file with content:
55 a
55 a
56 $ hg st
56 $ hg st
57 M a
57 M a
58 ? a.orig
58 ? a.orig
59
59
60 Symlink is other parent, executable is local:
60 Symlink is other parent, executable is local:
61
61
62 $ hg update -C 1
62 $ hg update -C 1
63 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
63 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
64
64
65 $ hg merge --debug --tool :union
65 $ hg merge --debug --tool :union
66 searching for copies back to rev 1
66 searching for copies back to rev 1
67 resolving manifests
67 resolving manifests
68 branchmerge: True, force: False, partial: False
68 branchmerge: True, force: False, partial: False
69 ancestor: c334dc3be0da, local: 3574f3e69b1c+, remote: 521a1e40188f
69 ancestor: c334dc3be0da, local: 3574f3e69b1c+, remote: 521a1e40188f
70 preserving a for resolve of a
70 preserving a for resolve of a
71 a: versions differ -> m (premerge)
71 a: versions differ -> m (premerge)
72 picked tool ':union' for a (binary False symlink True)
72 picked tool ':union' for a (binary False symlink True)
73 merging a
73 merging a
74 my a@3574f3e69b1c+ other a@521a1e40188f ancestor a@c334dc3be0da
74 my a@3574f3e69b1c+ other a@521a1e40188f ancestor a@c334dc3be0da
75 warning: internal :union cannot merge symlinks for a
75 warning: internal :union cannot merge symlinks for a
76 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
76 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
77 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
77 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
78 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
78 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
79 [1]
79 [1]
80
80
81 $ tellmeabout a
81 $ tellmeabout a
82 a is an executable file with content:
82 a is an executable file with content:
83 a
83 a
84
84
85 $ hg update -C 1
85 $ hg update -C 1
86 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
86 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
87
87
88 $ hg merge --debug --tool :merge3
88 $ hg merge --debug --tool :merge3
89 searching for copies back to rev 1
89 searching for copies back to rev 1
90 resolving manifests
90 resolving manifests
91 branchmerge: True, force: False, partial: False
91 branchmerge: True, force: False, partial: False
92 ancestor: c334dc3be0da, local: 3574f3e69b1c+, remote: 521a1e40188f
92 ancestor: c334dc3be0da, local: 3574f3e69b1c+, remote: 521a1e40188f
93 preserving a for resolve of a
93 preserving a for resolve of a
94 a: versions differ -> m (premerge)
94 a: versions differ -> m (premerge)
95 picked tool ':merge3' for a (binary False symlink True)
95 picked tool ':merge3' for a (binary False symlink True)
96 merging a
96 merging a
97 my a@3574f3e69b1c+ other a@521a1e40188f ancestor a@c334dc3be0da
97 my a@3574f3e69b1c+ other a@521a1e40188f ancestor a@c334dc3be0da
98 warning: internal :merge3 cannot merge symlinks for a
98 warning: internal :merge3 cannot merge symlinks for a
99 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
99 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
100 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
100 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
101 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
101 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
102 [1]
102 [1]
103
103
104 $ tellmeabout a
104 $ tellmeabout a
105 a is an executable file with content:
105 a is an executable file with content:
106 a
106 a
107
107
108 $ hg update -C 1
109 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
110
111 $ hg merge --debug --tool :merge-local
112 searching for copies back to rev 1
113 resolving manifests
114 branchmerge: True, force: False, partial: False
115 ancestor: c334dc3be0da, local: 3574f3e69b1c+, remote: 521a1e40188f
116 preserving a for resolve of a
117 a: versions differ -> m (premerge)
118 picked tool ':merge-local' for a (binary False symlink True)
119 merging a
120 my a@3574f3e69b1c+ other a@521a1e40188f ancestor a@c334dc3be0da
121 warning: :merge-local cannot merge symlinks for a
122 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
123 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
124 [1]
125
126 $ tellmeabout a
127 a is an executable file with content:
128 a
129
130 $ hg update -C 1
131 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
132
133 $ hg merge --debug --tool :merge-other
134 searching for copies back to rev 1
135 resolving manifests
136 branchmerge: True, force: False, partial: False
137 ancestor: c334dc3be0da, local: 3574f3e69b1c+, remote: 521a1e40188f
138 preserving a for resolve of a
139 a: versions differ -> m (premerge)
140 picked tool ':merge-other' for a (binary False symlink True)
141 merging a
142 my a@3574f3e69b1c+ other a@521a1e40188f ancestor a@c334dc3be0da
143 warning: :merge-other cannot merge symlinks for a
144 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
145 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
146 [1]
147
148 $ tellmeabout a
149 a is an executable file with content:
150 a
151
108 Update to link without local change should get us a symlink (issue3316):
152 Update to link without local change should get us a symlink (issue3316):
109
153
110 $ hg up -C 0
154 $ hg up -C 0
111 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
155 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
112 $ hg up
156 $ hg up
113 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
157 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
114 $ hg st
158 $ hg st
115 ? a.orig
159 ? a.orig
116
160
117 Update to link with local change should cause a merge prompt (issue3200):
161 Update to link with local change should cause a merge prompt (issue3200):
118
162
119 $ hg up -Cq 0
163 $ hg up -Cq 0
120 $ echo data > a
164 $ echo data > a
121 $ HGMERGE= hg up -y --debug
165 $ HGMERGE= hg up -y --debug
122 searching for copies back to rev 2
166 searching for copies back to rev 2
123 resolving manifests
167 resolving manifests
124 branchmerge: False, force: False, partial: False
168 branchmerge: False, force: False, partial: False
125 ancestor: c334dc3be0da, local: c334dc3be0da+, remote: 521a1e40188f
169 ancestor: c334dc3be0da, local: c334dc3be0da+, remote: 521a1e40188f
126 preserving a for resolve of a
170 preserving a for resolve of a
127 a: versions differ -> m (premerge)
171 a: versions differ -> m (premerge)
128 (couldn't find merge tool hgmerge|tool hgmerge can't handle symlinks) (re)
172 (couldn't find merge tool hgmerge|tool hgmerge can't handle symlinks) (re)
129 picked tool ':prompt' for a (binary False symlink True)
173 picked tool ':prompt' for a (binary False symlink True)
130 no tool found to merge a
174 no tool found to merge a
131 keep (l)ocal or take (o)ther? l
175 keep (l)ocal or take (o)ther? l
132 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
176 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
133 $ hg diff --git
177 $ hg diff --git
134 diff --git a/a b/a
178 diff --git a/a b/a
135 old mode 120000
179 old mode 120000
136 new mode 100644
180 new mode 100644
137 --- a/a
181 --- a/a
138 +++ b/a
182 +++ b/a
139 @@ -1,1 +1,1 @@
183 @@ -1,1 +1,1 @@
140 -symlink
184 -symlink
141 \ No newline at end of file
185 \ No newline at end of file
142 +data
186 +data
143
187
144
188
145 Test only 'l' change - happens rarely, except when recovering from situations
189 Test only 'l' change - happens rarely, except when recovering from situations
146 where that was what happened.
190 where that was what happened.
147
191
148 $ hg init test2
192 $ hg init test2
149 $ cd test2
193 $ cd test2
150 $ printf base > f
194 $ printf base > f
151 $ hg ci -Aqm0
195 $ hg ci -Aqm0
152 $ echo file > f
196 $ echo file > f
153 $ echo content >> f
197 $ echo content >> f
154 $ hg ci -qm1
198 $ hg ci -qm1
155 $ hg up -qr0
199 $ hg up -qr0
156 $ rm f
200 $ rm f
157 $ ln -s base f
201 $ ln -s base f
158 $ hg ci -qm2
202 $ hg ci -qm2
159 $ hg merge
203 $ hg merge
160 merging f
204 merging f
161 warning: internal :merge cannot merge symlinks for f
205 warning: internal :merge cannot merge symlinks for f
162 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
206 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
163 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
207 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
164 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
208 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
165 [1]
209 [1]
166 $ tellmeabout f
210 $ tellmeabout f
167 f is a symlink:
211 f is a symlink:
168 f -> base
212 f -> base
169
213
170 $ hg up -Cqr1
214 $ hg up -Cqr1
171 $ hg merge
215 $ hg merge
172 merging f
216 merging f
173 warning: internal :merge cannot merge symlinks for f
217 warning: internal :merge cannot merge symlinks for f
174 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
218 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
175 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
219 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
176 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
220 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
177 [1]
221 [1]
178 $ tellmeabout f
222 $ tellmeabout f
179 f is a plain file with content:
223 f is a plain file with content:
180 file
224 file
181 content
225 content
182
226
183 $ cd ..
227 $ cd ..
184
228
185 Test removed 'x' flag merged with change to symlink
229 Test removed 'x' flag merged with change to symlink
186
230
187 $ hg init test3
231 $ hg init test3
188 $ cd test3
232 $ cd test3
189 $ echo f > f
233 $ echo f > f
190 $ chmod +x f
234 $ chmod +x f
191 $ hg ci -Aqm0
235 $ hg ci -Aqm0
192 $ chmod -x f
236 $ chmod -x f
193 $ hg ci -qm1
237 $ hg ci -qm1
194 $ hg up -qr0
238 $ hg up -qr0
195 $ rm f
239 $ rm f
196 $ ln -s dangling f
240 $ ln -s dangling f
197 $ hg ci -qm2
241 $ hg ci -qm2
198 $ hg merge
242 $ hg merge
199 merging f
243 merging f
200 warning: internal :merge cannot merge symlinks for f
244 warning: internal :merge cannot merge symlinks for f
201 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
245 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
202 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
246 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
203 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
247 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
204 [1]
248 [1]
205 $ tellmeabout f
249 $ tellmeabout f
206 f is a symlink:
250 f is a symlink:
207 f -> dangling
251 f -> dangling
208
252
209 $ hg up -Cqr1
253 $ hg up -Cqr1
210 $ hg merge
254 $ hg merge
211 merging f
255 merging f
212 warning: internal :merge cannot merge symlinks for f
256 warning: internal :merge cannot merge symlinks for f
213 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
257 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
214 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
258 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
215 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
259 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
216 [1]
260 [1]
217 $ tellmeabout f
261 $ tellmeabout f
218 f is a plain file with content:
262 f is a plain file with content:
219 f
263 f
220
264
221 Test removed 'x' flag merged with content change - both ways
265 Test removed 'x' flag merged with content change - both ways
222
266
223 $ hg up -Cqr0
267 $ hg up -Cqr0
224 $ echo change > f
268 $ echo change > f
225 $ hg ci -qm3
269 $ hg ci -qm3
226 $ hg merge -r1
270 $ hg merge -r1
227 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
271 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
228 (branch merge, don't forget to commit)
272 (branch merge, don't forget to commit)
229 $ tellmeabout f
273 $ tellmeabout f
230 f is a plain file with content:
274 f is a plain file with content:
231 change
275 change
232
276
233 $ hg up -qCr1
277 $ hg up -qCr1
234 $ hg merge -r3
278 $ hg merge -r3
235 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
279 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
236 (branch merge, don't forget to commit)
280 (branch merge, don't forget to commit)
237 $ tellmeabout f
281 $ tellmeabout f
238 f is a plain file with content:
282 f is a plain file with content:
239 change
283 change
240
284
241 $ cd ..
285 $ cd ..
242
286
243 Test merge with no common ancestor:
287 Test merge with no common ancestor:
244 a: just different
288 a: just different
245 b: x vs -, different (cannot calculate x, cannot ask merge tool)
289 b: x vs -, different (cannot calculate x, cannot ask merge tool)
246 c: x vs -, same (cannot calculate x, merge tool is no good)
290 c: x vs -, same (cannot calculate x, merge tool is no good)
247 d: x vs l, different
291 d: x vs l, different
248 e: x vs l, same
292 e: x vs l, same
249 f: - vs l, different
293 f: - vs l, different
250 g: - vs l, same
294 g: - vs l, same
251 h: l vs l, different
295 h: l vs l, different
252 (where same means the filelog entry is shared and there thus is an ancestor!)
296 (where same means the filelog entry is shared and there thus is an ancestor!)
253
297
254 $ hg init test4
298 $ hg init test4
255 $ cd test4
299 $ cd test4
256 $ echo 0 > 0
300 $ echo 0 > 0
257 $ hg ci -Aqm0
301 $ hg ci -Aqm0
258
302
259 $ echo 1 > a
303 $ echo 1 > a
260 $ echo 1 > b
304 $ echo 1 > b
261 $ chmod +x b
305 $ chmod +x b
262 $ echo x > c
306 $ echo x > c
263 $ chmod +x c
307 $ chmod +x c
264 $ echo 1 > d
308 $ echo 1 > d
265 $ chmod +x d
309 $ chmod +x d
266 $ printf x > e
310 $ printf x > e
267 $ chmod +x e
311 $ chmod +x e
268 $ echo 1 > f
312 $ echo 1 > f
269 $ printf x > g
313 $ printf x > g
270 $ ln -s 1 h
314 $ ln -s 1 h
271 $ hg ci -qAm1
315 $ hg ci -qAm1
272
316
273 $ hg up -qr0
317 $ hg up -qr0
274 $ echo 2 > a
318 $ echo 2 > a
275 $ echo 2 > b
319 $ echo 2 > b
276 $ echo x > c
320 $ echo x > c
277 $ ln -s 2 d
321 $ ln -s 2 d
278 $ ln -s x e
322 $ ln -s x e
279 $ ln -s 2 f
323 $ ln -s 2 f
280 $ ln -s x g
324 $ ln -s x g
281 $ ln -s 2 h
325 $ ln -s 2 h
282 $ hg ci -Aqm2
326 $ hg ci -Aqm2
283
327
284 $ hg merge
328 $ hg merge
285 merging a
329 merging a
286 warning: cannot merge flags for b
330 warning: cannot merge flags for b
287 merging b
331 merging b
288 warning: cannot merge flags for c
332 warning: cannot merge flags for c
289 merging d
333 merging d
290 warning: internal :merge cannot merge symlinks for d
334 warning: internal :merge cannot merge symlinks for d
291 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
335 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
292 merging f
336 merging f
293 warning: internal :merge cannot merge symlinks for f
337 warning: internal :merge cannot merge symlinks for f
294 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
338 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
295 merging h
339 merging h
296 warning: internal :merge cannot merge symlinks for h
340 warning: internal :merge cannot merge symlinks for h
297 warning: conflicts while merging h! (edit, then use 'hg resolve --mark')
341 warning: conflicts while merging h! (edit, then use 'hg resolve --mark')
298 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
342 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
299 warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
343 warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
300 3 files updated, 0 files merged, 0 files removed, 5 files unresolved
344 3 files updated, 0 files merged, 0 files removed, 5 files unresolved
301 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
345 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
302 [1]
346 [1]
303 $ hg resolve -l
347 $ hg resolve -l
304 U a
348 U a
305 U b
349 U b
306 U d
350 U d
307 U f
351 U f
308 U h
352 U h
309 $ tellmeabout a
353 $ tellmeabout a
310 a is a plain file with content:
354 a is a plain file with content:
311 <<<<<<< local: 0139c5610547 - test: 2
355 <<<<<<< local: 0139c5610547 - test: 2
312 2
356 2
313 =======
357 =======
314 1
358 1
315 >>>>>>> other: 97e29675e796 - test: 1
359 >>>>>>> other: 97e29675e796 - test: 1
316 $ tellmeabout b
360 $ tellmeabout b
317 b is a plain file with content:
361 b is a plain file with content:
318 <<<<<<< local: 0139c5610547 - test: 2
362 <<<<<<< local: 0139c5610547 - test: 2
319 2
363 2
320 =======
364 =======
321 1
365 1
322 >>>>>>> other: 97e29675e796 - test: 1
366 >>>>>>> other: 97e29675e796 - test: 1
323 $ tellmeabout c
367 $ tellmeabout c
324 c is a plain file with content:
368 c is a plain file with content:
325 x
369 x
326 $ tellmeabout d
370 $ tellmeabout d
327 d is a symlink:
371 d is a symlink:
328 d -> 2
372 d -> 2
329 $ tellmeabout e
373 $ tellmeabout e
330 e is a symlink:
374 e is a symlink:
331 e -> x
375 e -> x
332 $ tellmeabout f
376 $ tellmeabout f
333 f is a symlink:
377 f is a symlink:
334 f -> 2
378 f -> 2
335 $ tellmeabout g
379 $ tellmeabout g
336 g is a symlink:
380 g is a symlink:
337 g -> x
381 g -> x
338 $ tellmeabout h
382 $ tellmeabout h
339 h is a symlink:
383 h is a symlink:
340 h -> 2
384 h -> 2
341
385
342 $ hg up -Cqr1
386 $ hg up -Cqr1
343 $ hg merge
387 $ hg merge
344 merging a
388 merging a
345 warning: cannot merge flags for b
389 warning: cannot merge flags for b
346 merging b
390 merging b
347 warning: cannot merge flags for c
391 warning: cannot merge flags for c
348 merging d
392 merging d
349 warning: internal :merge cannot merge symlinks for d
393 warning: internal :merge cannot merge symlinks for d
350 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
394 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
351 merging f
395 merging f
352 warning: internal :merge cannot merge symlinks for f
396 warning: internal :merge cannot merge symlinks for f
353 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
397 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
354 merging h
398 merging h
355 warning: internal :merge cannot merge symlinks for h
399 warning: internal :merge cannot merge symlinks for h
356 warning: conflicts while merging h! (edit, then use 'hg resolve --mark')
400 warning: conflicts while merging h! (edit, then use 'hg resolve --mark')
357 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
401 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
358 warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
402 warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
359 3 files updated, 0 files merged, 0 files removed, 5 files unresolved
403 3 files updated, 0 files merged, 0 files removed, 5 files unresolved
360 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
404 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
361 [1]
405 [1]
362 $ tellmeabout a
406 $ tellmeabout a
363 a is a plain file with content:
407 a is a plain file with content:
364 <<<<<<< local: 97e29675e796 - test: 1
408 <<<<<<< local: 97e29675e796 - test: 1
365 1
409 1
366 =======
410 =======
367 2
411 2
368 >>>>>>> other: 0139c5610547 - test: 2
412 >>>>>>> other: 0139c5610547 - test: 2
369 $ tellmeabout b
413 $ tellmeabout b
370 b is an executable file with content:
414 b is an executable file with content:
371 <<<<<<< local: 97e29675e796 - test: 1
415 <<<<<<< local: 97e29675e796 - test: 1
372 1
416 1
373 =======
417 =======
374 2
418 2
375 >>>>>>> other: 0139c5610547 - test: 2
419 >>>>>>> other: 0139c5610547 - test: 2
376 $ tellmeabout c
420 $ tellmeabout c
377 c is an executable file with content:
421 c is an executable file with content:
378 x
422 x
379 $ tellmeabout d
423 $ tellmeabout d
380 d is an executable file with content:
424 d is an executable file with content:
381 1
425 1
382 $ tellmeabout e
426 $ tellmeabout e
383 e is an executable file with content:
427 e is an executable file with content:
384 x (no-eol)
428 x (no-eol)
385 $ tellmeabout f
429 $ tellmeabout f
386 f is a plain file with content:
430 f is a plain file with content:
387 1
431 1
388 $ tellmeabout g
432 $ tellmeabout g
389 g is a plain file with content:
433 g is a plain file with content:
390 x (no-eol)
434 x (no-eol)
391 $ tellmeabout h
435 $ tellmeabout h
392 h is a symlink:
436 h is a symlink:
393 h -> 1
437 h -> 1
394
438
395 $ cd ..
439 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now