Show More
@@ -543,8 +543,6 def manifestmerge(repo, wctx, p2, pa, br | |||||
543 | else: |
|
543 | else: | |
544 | actions[f] = ('dc', (fl2,), "prompt deleted/changed") |
|
544 | actions[f] = ('dc', (fl2,), "prompt deleted/changed") | |
545 |
|
545 | |||
546 | _checkunknownfiles(repo, wctx, p2, force, actions) |
|
|||
547 |
|
||||
548 | return actions, diverge, renamedelete |
|
546 | return actions, diverge, renamedelete | |
549 |
|
547 | |||
550 | def _resolvetrivial(repo, wctx, mctx, ancestor, actions): |
|
548 | def _resolvetrivial(repo, wctx, mctx, ancestor, actions): | |
@@ -567,6 +565,7 def calculateupdates(repo, wctx, mctx, a | |||||
567 | actions, diverge, renamedelete = manifestmerge( |
|
565 | actions, diverge, renamedelete = manifestmerge( | |
568 | repo, wctx, mctx, ancestors[0], branchmerge, force, partial, |
|
566 | repo, wctx, mctx, ancestors[0], branchmerge, force, partial, | |
569 | acceptremote, followcopies) |
|
567 | acceptremote, followcopies) | |
|
568 | _checkunknownfiles(repo, wctx, mctx, force, actions) | |||
570 |
|
569 | |||
571 | else: # only when merge.preferancestor=* - the default |
|
570 | else: # only when merge.preferancestor=* - the default | |
572 | repo.ui.note( |
|
571 | repo.ui.note( | |
@@ -581,6 +580,7 def calculateupdates(repo, wctx, mctx, a | |||||
581 | actions, diverge1, renamedelete1 = manifestmerge( |
|
580 | actions, diverge1, renamedelete1 = manifestmerge( | |
582 | repo, wctx, mctx, ancestor, branchmerge, force, partial, |
|
581 | repo, wctx, mctx, ancestor, branchmerge, force, partial, | |
583 | acceptremote, followcopies) |
|
582 | acceptremote, followcopies) | |
|
583 | _checkunknownfiles(repo, wctx, mctx, force, actions) | |||
584 | if diverge is None: # and renamedelete is None. |
|
584 | if diverge is None: # and renamedelete is None. | |
585 | # Arbitrarily pick warnings from first iteration |
|
585 | # Arbitrarily pick warnings from first iteration | |
586 | diverge = diverge1 |
|
586 | diverge = diverge1 |
General Comments 0
You need to be logged in to leave comments.
Login now