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