hgext/largefiles/overrides.py
changeset 21080 04540a8499a3
parent 21053 d384ce982a51
child 21081 ffd7b6ce46ff
equal deleted inserted replaced
21079:b02ab6486a78 21080:04540a8499a3
   364 #
   364 #
   365 # Finally, the merge.applyupdates function will then take care of
   365 # Finally, the merge.applyupdates function will then take care of
   366 # writing the files into the working copy and lfcommands.updatelfiles
   366 # writing the files into the working copy and lfcommands.updatelfiles
   367 # will update the largefiles.
   367 # will update the largefiles.
   368 def overridecalculateupdates(origfn, repo, p1, p2, pa, branchmerge, force,
   368 def overridecalculateupdates(origfn, repo, p1, p2, pa, branchmerge, force,
   369                              partial, acceptremote=False):
   369                              partial, acceptremote, followcopies):
   370     overwrite = force and not branchmerge
   370     overwrite = force and not branchmerge
   371     actions = origfn(repo, p1, p2, pa, branchmerge, force, partial,
   371     actions = origfn(repo, p1, p2, pa, branchmerge, force, partial,
   372                      acceptremote)
   372                      acceptremote, followcopies)
   373 
   373 
   374     if overwrite:
   374     if overwrite:
   375         return actions
   375         return actions
   376 
   376 
   377     removes = set(a[0] for a in actions if a[1] == 'r')
   377     removes = set(a[0] for a in actions if a[1] == 'r')