Show More
@@ -403,7 +403,7 b' def merge(repo, node, force=None, remind' | |||
|
403 | 403 | _showstats(repo, stats) |
|
404 | 404 | if stats[3]: |
|
405 | 405 | repo.ui.status(_("use 'hg resolve' to retry unresolved file merges " |
|
406 | "or 'hg update -C' to abandon\n")) | |
|
406 | "or 'hg update -C .' to abandon\n")) | |
|
407 | 407 | elif remind: |
|
408 | 408 | repo.ui.status(_("(branch merge, don't forget to commit)\n")) |
|
409 | 409 | return stats[3] > 0 |
@@ -53,7 +53,7 b' should fail' | |||
|
53 | 53 | warning: conflicts during merge. |
|
54 | 54 | merging a failed! |
|
55 | 55 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
56 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
56 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
57 | 57 | $ hg st |
|
58 | 58 | M a |
|
59 | 59 | ? a.orig |
@@ -31,7 +31,7 b' Merging a conflict araises' | |||
|
31 | 31 | warning: conflicts during merge. |
|
32 | 32 | merging A failed! |
|
33 | 33 | 1 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
34 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
34 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
35 | 35 | |
|
36 | 36 | Correct the conflict without marking the file as resolved |
|
37 | 37 |
@@ -15,7 +15,7 b'' | |||
|
15 | 15 | warning: conflicts during merge. |
|
16 | 16 | merging a failed! |
|
17 | 17 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
18 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
18 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
19 | 19 | |
|
20 | 20 | $ hg id |
|
21 | 21 | 32e80765d7fe+75234512624c+ tip |
@@ -265,7 +265,7 b' merging b' | |||
|
265 | 265 | warning: conflicts during merge. |
|
266 | 266 | merging b failed! |
|
267 | 267 | 2 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
268 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
268 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
269 | 269 | assuming destination b-hg |
|
270 | 270 | initializing svn repository 'b-hg' |
|
271 | 271 | initializing svn working copy 'b-hg-wc' |
@@ -817,7 +817,7 b' conflict: keyword should stay outside co' | |||
|
817 | 817 | warning: conflicts during merge. |
|
818 | 818 | merging m failed! |
|
819 | 819 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
820 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
820 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
821 | 821 | $ cat m |
|
822 | 822 | $Id$ |
|
823 | 823 | <<<<<<< local |
@@ -898,7 +898,7 b' log -p -R repo' | |||
|
898 | 898 | warning: conflicts during merge. |
|
899 | 899 | merging foo failed! |
|
900 | 900 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
901 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
901 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
902 | 902 | $ echo 'merge 1' > foo |
|
903 | 903 | $ hg resolve -m foo |
|
904 | 904 | $ hg ci -m "First merge, related" |
@@ -908,7 +908,7 b' log -p -R repo' | |||
|
908 | 908 | warning: conflicts during merge. |
|
909 | 909 | merging foo failed! |
|
910 | 910 | 1 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
911 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
911 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
912 | 912 | $ echo 'merge 2' > foo |
|
913 | 913 | $ hg resolve -m foo |
|
914 | 914 | $ hg ci -m "Last merge, related" |
@@ -42,7 +42,7 b' Merge using internal:fail tool:' | |||
|
42 | 42 | |
|
43 | 43 | $ hg merge |
|
44 | 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 | 46 | |
|
47 | 47 | $ cat f |
|
48 | 48 | line 1 |
@@ -17,7 +17,7 b' merging f' | |||
|
17 | 17 | warning: conflicts during merge. |
|
18 | 18 | merging f failed! |
|
19 | 19 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
20 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
20 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
21 | 21 | # cat f |
|
22 | 22 | <<<<<<< local |
|
23 | 23 | revision 1 |
@@ -37,7 +37,7 b' false.whatever=' | |||
|
37 | 37 | merging f |
|
38 | 38 | merging f failed! |
|
39 | 39 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
40 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
40 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
41 | 41 | # cat f |
|
42 | 42 | revision 1 |
|
43 | 43 | space |
@@ -69,7 +69,7 b' true.priority=1' | |||
|
69 | 69 | merging f |
|
70 | 70 | merging f failed! |
|
71 | 71 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
72 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
72 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
73 | 73 | # cat f |
|
74 | 74 | revision 1 |
|
75 | 75 | space |
@@ -86,7 +86,7 b' true.priority=1' | |||
|
86 | 86 | merging f |
|
87 | 87 | merging f failed! |
|
88 | 88 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
89 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
89 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
90 | 90 | # cat f |
|
91 | 91 | revision 1 |
|
92 | 92 | space |
@@ -103,7 +103,7 b' true.priority=1' | |||
|
103 | 103 | merging f |
|
104 | 104 | merging f failed! |
|
105 | 105 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
106 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
106 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
107 | 107 | # cat f |
|
108 | 108 | revision 1 |
|
109 | 109 | space |
@@ -120,7 +120,7 b' true.priority=1' | |||
|
120 | 120 | merging f |
|
121 | 121 | merging f failed! |
|
122 | 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 | |
|
123 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
124 | 124 | # cat f |
|
125 | 125 | revision 1 |
|
126 | 126 | space |
@@ -185,7 +185,7 b' true.executable=cat' | |||
|
185 | 185 | merging f |
|
186 | 186 | merging f failed! |
|
187 | 187 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
188 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
188 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
189 | 189 | # cat f |
|
190 | 190 | revision 1 |
|
191 | 191 | space |
@@ -204,7 +204,7 b" couldn't find merge tool true specified " | |||
|
204 | 204 | merging f |
|
205 | 205 | merging f failed! |
|
206 | 206 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
207 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
207 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
208 | 208 | # cat f |
|
209 | 209 | revision 1 |
|
210 | 210 | space |
@@ -223,7 +223,7 b" couldn't find merge tool true specified " | |||
|
223 | 223 | merging f |
|
224 | 224 | merging f failed! |
|
225 | 225 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
226 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
226 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
227 | 227 | # cat f |
|
228 | 228 | revision 1 |
|
229 | 229 | space |
@@ -244,7 +244,7 b' true.executable=cat' | |||
|
244 | 244 | merging f |
|
245 | 245 | merging f failed! |
|
246 | 246 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
247 | 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 | |
|
248 | 248 | # cat f |
|
249 | 249 | revision 1 |
|
250 | 250 | space |
@@ -260,7 +260,7 b' true.executable=cat' | |||
|
260 | 260 | # hg update -C 1 |
|
261 | 261 | # hg merge -r 2 --config ui.merge=internal:fail |
|
262 | 262 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
263 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
263 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
264 | 264 | # cat f |
|
265 | 265 | revision 1 |
|
266 | 266 | space |
@@ -323,7 +323,7 b' true.executable=cat' | |||
|
323 | 323 | # hg merge -r 2 --config ui.merge=internal:dump |
|
324 | 324 | merging f |
|
325 | 325 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
326 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
326 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
327 | 327 | # cat f |
|
328 | 328 | revision 1 |
|
329 | 329 | space |
@@ -354,7 +354,7 b' true.executable=cat' | |||
|
354 | 354 | merging f |
|
355 | 355 | merging f failed! |
|
356 | 356 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
357 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
357 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
358 | 358 | # cat f |
|
359 | 359 | revision 1 |
|
360 | 360 | space |
@@ -537,7 +537,7 b' merging f' | |||
|
537 | 537 | was merge successful (yn)? n |
|
538 | 538 | merging f failed! |
|
539 | 539 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
540 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
540 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
541 | 541 | # cat f |
|
542 | 542 | revision 1 |
|
543 | 543 | space |
@@ -47,7 +47,7 b' now pull and merge from test-a' | |||
|
47 | 47 | warning: conflicts during merge. |
|
48 | 48 | merging test.txt failed! |
|
49 | 49 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
50 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
50 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
51 | 51 | resolve conflict |
|
52 | 52 | $ cat >test.txt <<"EOF" |
|
53 | 53 | > one |
@@ -91,7 +91,7 b' pull and merge from test-a again' | |||
|
91 | 91 | warning: conflicts during merge. |
|
92 | 92 | merging test.txt failed! |
|
93 | 93 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
94 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
94 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
95 | 95 | |
|
96 | 96 | $ cat test.txt |
|
97 | 97 | one |
@@ -30,7 +30,7 b' test with the rename on the remote side' | |||
|
30 | 30 | merging bar failed! |
|
31 | 31 | merging foo and baz to baz |
|
32 | 32 | 1 files updated, 1 files merged, 0 files removed, 1 files unresolved |
|
33 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
33 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
34 | 34 | $ hg resolve -l |
|
35 | 35 | U bar |
|
36 | 36 | R baz |
@@ -43,7 +43,7 b' test with the rename on the local side' | |||
|
43 | 43 | merging bar failed! |
|
44 | 44 | merging baz and foo to baz |
|
45 | 45 | 1 files updated, 1 files merged, 0 files removed, 1 files unresolved |
|
46 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
46 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
47 | 47 | |
|
48 | 48 | show unresolved |
|
49 | 49 | $ hg resolve -l |
@@ -53,7 +53,7 b' merging a' | |||
|
53 | 53 | warning: conflicts during merge. |
|
54 | 54 | merging a failed! |
|
55 | 55 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
56 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
56 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
57 | 57 | abort: cannot manage merge changesets |
|
58 | 58 | %%% hg headers |
|
59 | 59 | adding a |
@@ -116,5 +116,5 b' merging a' | |||
|
116 | 116 | warning: conflicts during merge. |
|
117 | 117 | merging a failed! |
|
118 | 118 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
119 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
119 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
120 | 120 | abort: cannot manage merge changesets |
@@ -23,7 +23,7 b' failing merge' | |||
|
23 | 23 | |
|
24 | 24 | $ HGMERGE=internal:fail hg merge |
|
25 | 25 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
26 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
26 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
27 | 27 | |
|
28 | 28 | $ echo resolved > file |
|
29 | 29 | $ hg resolve -m file |
@@ -267,7 +267,7 b' test unknown color' | |||
|
267 | 267 | warning: conflicts during merge. |
|
268 | 268 | merging b failed! |
|
269 | 269 | 0 files updated, 0 files merged, 0 files removed, 2 files unresolved |
|
270 | use 'hg resolve' to retry unresolved file merges or 'hg update -C' to abandon | |
|
270 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon | |
|
271 | 271 | $ hg resolve -m b |
|
272 | 272 | |
|
273 | 273 | hg resolve with one unresolved, one resolved: |
@@ -217,7 +217,7 b' merge tests' | |||
|
217 | 217 | warning: conflicts during merge. |
|
218 | 218 | merging t failed! |
|
219 | 219 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
220 | 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 | |
|
221 | 221 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
222 | 222 | (branch merge, don't forget to commit) |
|
223 | 223 |
General Comments 0
You need to be logged in to leave comments.
Login now