Show More
@@ -538,6 +538,25 def _imerge3(repo, mynode, orig, fcd, fc | |||
|
538 | 538 | |
|
539 | 539 | |
|
540 | 540 | @internaltool( |
|
541 | b'merge3-lie-about-conflicts', | |
|
542 | fullmerge, | |
|
543 | b'', | |
|
544 | precheck=_mergecheck, | |
|
545 | ) | |
|
546 | def _imerge3alwaysgood(*args, **kwargs): | |
|
547 | # Like merge3, but record conflicts as resolved with markers in place. | |
|
548 | # | |
|
549 | # This is used for `hg diff --merge` to show the differences between | |
|
550 | # the auto-merge state and the committed merge state. It may be | |
|
551 | # useful for other things. | |
|
552 | b1, junk, b2 = _imerge3(*args, **kwargs) | |
|
553 | # TODO is this right? I'm not sure what these return values mean, | |
|
554 | # but as far as I can tell this will indicate to callers tha the | |
|
555 | # merge succeeded. | |
|
556 | return b1, False, b2 | |
|
557 | ||
|
558 | ||
|
559 | @internaltool( | |
|
541 | 560 | b'mergediff', |
|
542 | 561 | fullmerge, |
|
543 | 562 | _( |
General Comments 0
You need to be logged in to leave comments.
Login now