##// END OF EJS Templates
filemerge: pass contexts to simplemerge...
Phil Cohen -
r33826:db3e9f7c default
parent child Browse files
Show More
@@ -341,7 +341,8 b' def _premerge(repo, fcd, fco, fca, toolc'
341 341 labels = _defaultconflictlabels
342 342 if len(labels) < 3:
343 343 labels.append('base')
344 r = simplemerge.simplemerge(ui, a, b, c, quiet=True, label=labels)
344 r = simplemerge.simplemerge(ui, a, b, c, fcd, fca, fco,
345 quiet=True, label=labels, repo=repo)
345 346 if not r:
346 347 ui.debug(" premerge successful\n")
347 348 return 0
@@ -371,7 +372,8 b' def _merge(repo, mynode, orig, fcd, fco,'
371 372
372 373 ui = repo.ui
373 374
374 r = simplemerge.simplemerge(ui, a, b, c, label=labels, mode=mode)
375 r = simplemerge.simplemerge(ui, a, b, c, fcd, fca, fco,
376 label=labels, mode=mode, repo=repo)
375 377 return True, r, False
376 378
377 379 @internaltool('union', fullmerge,
@@ -423,8 +425,9 b' def _imergeauto(repo, mynode, orig, fcd,'
423 425 assert localorother is not None
424 426 tool, toolpath, binary, symlink = toolconf
425 427 a, b, c, back = files
426 r = simplemerge.simplemerge(repo.ui, a, b, c, label=labels,
427 localorother=localorother)
428 r = simplemerge.simplemerge(repo.ui, a, b, c, fcd, fca, fco,
429 label=labels, localorother=localorother,
430 repo=repo)
428 431 return True, r
429 432
430 433 @internaltool('merge-local', mergeonly, precheck=_mergecheck)
General Comments 0
You need to be logged in to leave comments. Login now