##// END OF EJS Templates
merge: refactor labels selection code...
Pierre-Yves David -
r22021:e9801c7b default
parent child Browse files
Show More
@@ -388,16 +388,13 def filemerge(repo, mynode, orig, fcd, f
388 388 ui.debug("my %s other %s ancestor %s\n" % (fcd, fco, fca))
389 389
390 390 markerstyle = ui.config('ui', 'mergemarkers', 'basic')
391 if markerstyle == 'basic':
392 formattedlabels = _defaultconflictlabels
393 else:
394 391 if not labels:
395 392 labels = _defaultconflictlabels
396
397 formattedlabels = _formatlabels(repo, fcd, fco, labels)
393 if markerstyle != 'basic':
394 labels = _formatlabels(repo, fcd, fco, labels)
398 395
399 396 needcheck, r = func(repo, mynode, orig, fcd, fco, fca, toolconf,
400 (a, b, c, back), labels=formattedlabels)
397 (a, b, c, back), labels=labels)
401 398 if not needcheck:
402 399 if r:
403 400 if onfailure:
General Comments 0
You need to be logged in to leave comments. Login now