Mercurial > hg
comparison hgext/largefiles/overrides.py @ 21081:ffd7b6ce46ff
merge: pass merge ancestor to calculateupdates as a list
The list will so far always have one element.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Sun, 06 Apr 2014 13:39:51 +0200 |
parents | 04540a8499a3 |
children | 718f56c47414 |
comparison
equal
deleted
inserted
replaced
21080:04540a8499a3 | 21081:ffd7b6ce46ff |
---|---|
363 # presumably changed on purpose. | 363 # presumably changed on purpose. |
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, pas, branchmerge, force, |
369 partial, acceptremote, followcopies): | 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, pas, branchmerge, force, partial, |
372 acceptremote, followcopies) | 372 acceptremote, followcopies) |
373 | 373 |
374 if overwrite: | 374 if overwrite: |
375 return actions | 375 return actions |
376 | 376 |