Show More
@@ -521,7 +521,9 def filemerge(repo, mynode, orig, fcd, f | |||
|
521 | 521 | needcheck, r = func(repo, mynode, orig, fcd, fco, fca, toolconf, |
|
522 | 522 | files, labels=labels) |
|
523 | 523 | |
|
524 |
if |
|
|
524 | if needcheck: | |
|
525 | r = _check(r, ui, tool, fcd, files) | |
|
526 | ||
|
525 | 527 |
|
|
526 | 528 |
|
|
527 | 529 |
|
@@ -532,6 +534,10 def filemerge(repo, mynode, orig, fcd, f | |||
|
532 | 534 |
|
|
533 | 535 |
|
|
534 | 536 | |
|
537 | def _check(r, ui, tool, fcd, files): | |
|
538 | fd = fcd.path() | |
|
539 | a, b, c, back = files | |
|
540 | ||
|
535 | 541 |
|
|
536 | 542 |
|
|
537 | 543 |
|
@@ -557,14 +563,6 def filemerge(repo, mynode, orig, fcd, f | |||
|
557 | 563 |
|
|
558 | 564 |
|
|
559 | 565 | |
|
560 | if r: | |
|
561 | if onfailure: | |
|
562 | ui.warn(onfailure % fd) | |
|
563 | else: | |
|
564 | util.unlink(back) | |
|
565 | ||
|
566 | util.unlink(b) | |
|
567 | util.unlink(c) | |
|
568 | 566 |
|
|
569 | 567 | |
|
570 | 568 | # tell hggettext to extract docstrings from these functions: |
General Comments 0
You need to be logged in to leave comments.
Login now