450 # |
450 # |
451 # Finally, the merge.applyupdates function will then take care of |
451 # Finally, the merge.applyupdates function will then take care of |
452 # writing the files into the working copy and lfcommands.updatelfiles |
452 # writing the files into the working copy and lfcommands.updatelfiles |
453 # will update the largefiles. |
453 # will update the largefiles. |
454 def overridecalculateupdates(origfn, repo, p1, p2, pas, branchmerge, force, |
454 def overridecalculateupdates(origfn, repo, p1, p2, pas, branchmerge, force, |
455 acceptremote, followcopies, matcher=None): |
455 acceptremote, followcopies, matcher=None, |
|
456 mergeforce=False): |
456 overwrite = force and not branchmerge |
457 overwrite = force and not branchmerge |
457 actions, diverge, renamedelete = origfn( |
458 actions, diverge, renamedelete = origfn( |
458 repo, p1, p2, pas, branchmerge, force, acceptremote, |
459 repo, p1, p2, pas, branchmerge, force, acceptremote, |
459 followcopies, matcher=matcher) |
460 followcopies, matcher=matcher) |
460 |
461 |