Show More
@@ -308,16 +308,12 b' def _imergeauto(repo, mynode, orig, fcd,' | |||
|
308 | 308 | """ |
|
309 | 309 | assert localorother is not None |
|
310 | 310 | tool, toolpath, binary, symlink = toolconf |
|
311 | if symlink: | |
|
312 | repo.ui.warn(_('warning: :merge-%s cannot merge symlinks ' | |
|
313 | 'for %s\n') % (localorother, fcd.path())) | |
|
314 | return False, 1 | |
|
315 | 311 | a, b, c, back = files |
|
316 | 312 | r = simplemerge.simplemerge(repo.ui, a, b, c, label=labels, |
|
317 | 313 | localorother=localorother) |
|
318 | 314 | return True, r |
|
319 | 315 | |
|
320 | @internaltool('merge-local', mergeonly) | |
|
316 | @internaltool('merge-local', mergeonly, precheck=_symlinkcheck) | |
|
321 | 317 | def _imergelocal(*args, **kwargs): |
|
322 | 318 | """ |
|
323 | 319 | Like :merge, but resolve all conflicts non-interactively in favor |
@@ -325,7 +321,7 b' def _imergelocal(*args, **kwargs):' | |||
|
325 | 321 | success, status = _imergeauto(localorother='local', *args, **kwargs) |
|
326 | 322 | return success, status |
|
327 | 323 | |
|
328 | @internaltool('merge-other', mergeonly) | |
|
324 | @internaltool('merge-other', mergeonly, precheck=_symlinkcheck) | |
|
329 | 325 | def _imergeother(*args, **kwargs): |
|
330 | 326 | """ |
|
331 | 327 | Like :merge, but resolve all conflicts non-interactively in favor |
@@ -118,7 +118,7 b' Symlink is other parent, executable is l' | |||
|
118 | 118 | picked tool ':merge-local' for a (binary False symlink True) |
|
119 | 119 | merging a |
|
120 | 120 | my a@3574f3e69b1c+ other a@521a1e40188f ancestor a@c334dc3be0da |
|
121 | warning: :merge-local cannot merge symlinks for a | |
|
121 | warning: internal :merge-local cannot merge symlinks for a | |
|
122 | 122 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
123 | 123 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon |
|
124 | 124 | [1] |
@@ -140,7 +140,7 b' Symlink is other parent, executable is l' | |||
|
140 | 140 | picked tool ':merge-other' for a (binary False symlink True) |
|
141 | 141 | merging a |
|
142 | 142 | my a@3574f3e69b1c+ other a@521a1e40188f ancestor a@c334dc3be0da |
|
143 | warning: :merge-other cannot merge symlinks for a | |
|
143 | warning: internal :merge-other cannot merge symlinks for a | |
|
144 | 144 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
145 | 145 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon |
|
146 | 146 | [1] |
General Comments 0
You need to be logged in to leave comments.
Login now