Show More
@@ -465,6 +465,9 b' def filemerge(repo, mynode, orig, fcd, f' | |||
|
465 | 465 | binary = fcd.isbinary() or fco.isbinary() or fca.isbinary() |
|
466 | 466 | symlink = 'l' in fcd.flags() + fco.flags() |
|
467 | 467 | tool, toolpath = _picktool(repo, ui, fd, binary, symlink) |
|
468 | if tool in internals and tool.startswith('internal:'): | |
|
469 | # normalize to new-style names (':merge' etc) | |
|
470 | tool = tool[len('internal'):] | |
|
468 | 471 | ui.debug("picked tool '%s' for %s (binary %s symlink %s)\n" % |
|
469 | 472 | (tool, fd, binary, symlink)) |
|
470 | 473 |
@@ -620,7 +620,7 b' Test usage of `hg resolve` in case of co' | |||
|
620 | 620 | update: (current) |
|
621 | 621 | phases: 3 draft |
|
622 | 622 | $ hg resolve --all --debug |
|
623 |
picked tool ' |
|
|
623 | picked tool ':merge' for foo (binary False symlink False) | |
|
624 | 624 | merging foo |
|
625 | 625 | my foo@b71750c4b0fd+ other foo@a30dd8addae3 ancestor foo@913609522437 |
|
626 | 626 | premerge successful |
@@ -35,12 +35,12 b'' | |||
|
35 | 35 | preserving a for resolve of c |
|
36 | 36 | removing a |
|
37 | 37 | b: remote moved from a -> m |
|
38 |
picked tool ' |
|
|
38 | picked tool ':merge' for b (binary False symlink False) | |
|
39 | 39 | merging a and b to b |
|
40 | 40 | my b@add3f11052fa+ other b@17c05bb7fcb6 ancestor a@b8bf91eeebbc |
|
41 | 41 | premerge successful |
|
42 | 42 | c: remote moved from a -> m |
|
43 |
picked tool ' |
|
|
43 | picked tool ':merge' for c (binary False symlink False) | |
|
44 | 44 | merging a and c to c |
|
45 | 45 | my c@add3f11052fa+ other c@17c05bb7fcb6 ancestor a@b8bf91eeebbc |
|
46 | 46 | premerge successful |
@@ -38,12 +38,12 b" we get conflicts that shouldn't be there" | |||
|
38 | 38 | preserving foo for resolve of bar |
|
39 | 39 | preserving foo for resolve of foo |
|
40 | 40 | bar: remote copied from foo -> m |
|
41 |
picked tool ' |
|
|
41 | picked tool ':merge' for bar (binary False symlink False) | |
|
42 | 42 | merging foo and bar to bar |
|
43 | 43 | my bar@6a0df1dad128+ other bar@484bf6903104 ancestor foo@e6dc8efe11cc |
|
44 | 44 | premerge successful |
|
45 | 45 | foo: versions differ -> m |
|
46 |
picked tool ' |
|
|
46 | picked tool ':merge' for foo (binary False symlink False) | |
|
47 | 47 | merging foo |
|
48 | 48 | my foo@6a0df1dad128+ other foo@484bf6903104 ancestor foo@e6dc8efe11cc |
|
49 | 49 | premerge successful |
@@ -154,7 +154,7 b' Graft out of order, skipping a merge and' | |||
|
154 | 154 | ancestor: 68795b066622, local: ef0ef43d49e7+, remote: 5d205f8b35b6 |
|
155 | 155 | preserving b for resolve of b |
|
156 | 156 | b: local copied/moved from a -> m |
|
157 |
picked tool ' |
|
|
157 | picked tool ':merge' for b (binary False symlink False) | |
|
158 | 158 | merging b and a to b |
|
159 | 159 | my b@ef0ef43d49e7+ other a@5d205f8b35b6 ancestor a@68795b066622 |
|
160 | 160 | premerge successful |
@@ -184,7 +184,7 b' Graft out of order, skipping a merge and' | |||
|
184 | 184 | getting d |
|
185 | 185 | b: remote unchanged -> k |
|
186 | 186 | e: versions differ -> m |
|
187 |
picked tool ' |
|
|
187 | picked tool ':merge' for e (binary False symlink False) | |
|
188 | 188 | merging e |
|
189 | 189 | my e@1905859650ec+ other e@9c233e8e184d ancestor e@68795b066622 |
|
190 | 190 | warning: conflicts during merge. |
@@ -66,7 +66,7 b' https://bz.mercurial-scm.org/672' | |||
|
66 | 66 | ancestor: c64f439569a9, local: e327dca35ac8+, remote: 746e9549ea96 |
|
67 | 67 | preserving 1a for resolve of 1a |
|
68 | 68 | 1a: local copied/moved from 1 -> m |
|
69 |
picked tool ' |
|
|
69 | picked tool ':merge' for 1a (binary False symlink False) | |
|
70 | 70 | merging 1a and 1 to 1a |
|
71 | 71 | my 1a@e327dca35ac8+ other 1@746e9549ea96 ancestor 1@81f4b099af3d |
|
72 | 72 | premerge successful |
@@ -89,7 +89,7 b' https://bz.mercurial-scm.org/672' | |||
|
89 | 89 | preserving 1 for resolve of 1a |
|
90 | 90 | removing 1 |
|
91 | 91 | 1a: remote moved from 1 -> m |
|
92 |
picked tool ' |
|
|
92 | picked tool ':merge' for 1a (binary False symlink False) | |
|
93 | 93 | merging 1 and 1a to 1a |
|
94 | 94 | my 1a@746e9549ea96+ other 1a@e327dca35ac8 ancestor 1@81f4b099af3d |
|
95 | 95 | premerge successful |
@@ -73,7 +73,7 b' This should use bar@rev2 as the ancestor' | |||
|
73 | 73 | ancestor: 0f2ff26688b9, local: 2263c1be0967+, remote: 0555950ead28 |
|
74 | 74 | preserving bar for resolve of bar |
|
75 | 75 | bar: versions differ -> m |
|
76 |
picked tool ' |
|
|
76 | picked tool ':merge' for bar (binary False symlink False) | |
|
77 | 77 | merging bar |
|
78 | 78 | my bar@2263c1be0967+ other bar@0555950ead28 ancestor bar@0f2ff26688b9 |
|
79 | 79 | premerge successful |
@@ -159,7 +159,7 b' This should use bar@rev2 as the ancestor' | |||
|
159 | 159 | ancestor: 0f2ff26688b9, local: 2263c1be0967+, remote: 3ffa6b9e35f0 |
|
160 | 160 | preserving bar for resolve of bar |
|
161 | 161 | bar: versions differ -> m |
|
162 |
picked tool ' |
|
|
162 | picked tool ':merge' for bar (binary False symlink False) | |
|
163 | 163 | merging bar |
|
164 | 164 | my bar@2263c1be0967+ other bar@3ffa6b9e35f0 ancestor bar@0f2ff26688b9 |
|
165 | 165 | premerge successful |
@@ -83,7 +83,7 b' Criss cross merging' | |||
|
83 | 83 | f1: remote is newer -> g |
|
84 | 84 | getting f1 |
|
85 | 85 | f2: versions differ -> m |
|
86 |
picked tool ' |
|
|
86 | picked tool ':dump' for f2 (binary False symlink False) | |
|
87 | 87 | merging f2 |
|
88 | 88 | my f2@3b08d01b0ab5+ other f2@adfe50279922 ancestor f2@40494bf2444c |
|
89 | 89 | 1 files updated, 0 files merged, 0 files removed, 1 files unresolved |
@@ -36,7 +36,7 b' Symlink is local parent, executable is o' | |||
|
36 | 36 | ancestor: c334dc3be0da, local: 521a1e40188f+, remote: 3574f3e69b1c |
|
37 | 37 | preserving a for resolve of a |
|
38 | 38 | a: versions differ -> m |
|
39 |
picked tool ' |
|
|
39 | picked tool ':merge' for a (binary False symlink True) | |
|
40 | 40 | merging a |
|
41 | 41 | my a@521a1e40188f+ other a@3574f3e69b1c ancestor a@c334dc3be0da |
|
42 | 42 | warning: internal :merge cannot merge symlinks for a |
@@ -69,7 +69,7 b' Symlink is other parent, executable is l' | |||
|
69 | 69 | ancestor: c334dc3be0da, local: 3574f3e69b1c+, remote: 521a1e40188f |
|
70 | 70 | preserving a for resolve of a |
|
71 | 71 | a: versions differ -> m |
|
72 |
picked tool ' |
|
|
72 | picked tool ':merge' for a (binary False symlink True) | |
|
73 | 73 | merging a |
|
74 | 74 | my a@3574f3e69b1c+ other a@521a1e40188f ancestor a@c334dc3be0da |
|
75 | 75 | warning: internal :merge cannot merge symlinks for a |
@@ -86,7 +86,7 b' pull and merge from test-a again' | |||
|
86 | 86 | ancestor: 96b70246a118, local: 50c3a7e29886+, remote: 40d11a4173a8 |
|
87 | 87 | preserving test.txt for resolve of test.txt |
|
88 | 88 | test.txt: versions differ -> m |
|
89 |
picked tool ' |
|
|
89 | picked tool ':merge' for test.txt (binary False symlink False) | |
|
90 | 90 | merging test.txt |
|
91 | 91 | my test.txt@50c3a7e29886+ other test.txt@40d11a4173a8 ancestor test.txt@96b70246a118 |
|
92 | 92 | warning: conflicts during merge. |
@@ -41,7 +41,7 b'' | |||
|
41 | 41 | b2: remote created -> g |
|
42 | 42 | getting b2 |
|
43 | 43 | b: remote moved from a -> m |
|
44 |
picked tool ' |
|
|
44 | picked tool ':merge' for b (binary False symlink False) | |
|
45 | 45 | merging a and b to b |
|
46 | 46 | my b@044f8520aeeb+ other b@85c198ef2f6c ancestor a@af1939970a1c |
|
47 | 47 | premerge successful |
@@ -297,7 +297,7 b' merge tests' | |||
|
297 | 297 | ancestor: 6747d179aa9a, local: 20a0db6fbf6c+, remote: 7af322bc1198 |
|
298 | 298 | preserving t for resolve of t |
|
299 | 299 | t: versions differ -> m |
|
300 |
picked tool ' |
|
|
300 | picked tool ':merge' for t (binary False symlink False) | |
|
301 | 301 | merging t |
|
302 | 302 | my t@20a0db6fbf6c+ other t@7af322bc1198 ancestor t@6747d179aa9a |
|
303 | 303 | warning: conflicts during merge. |
General Comments 0
You need to be logged in to leave comments.
Login now