comparison mercurial/copies.py @ 30136:8797eadb5d90

checkcopies: minor change to comment This helped me understand the refactoring so this must be helpful.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Sat, 08 Oct 2016 19:03:16 +0200
parents 3eae81c0a09d
children f85f9e069e09
comparison
equal deleted inserted replaced
30135:3eae81c0a09d 30136:8797eadb5d90
457 def _checkcopies(ctx, f, m1, m2, base, limit, diverge, copy, fullcopy): 457 def _checkcopies(ctx, f, m1, m2, base, limit, diverge, copy, fullcopy):
458 """ 458 """
459 check possible copies of f from m1 to m2 459 check possible copies of f from m1 to m2
460 460
461 ctx = starting context for f in m1 461 ctx = starting context for f in m1
462 f = the filename to check 462 f = the filename to check (as in m1)
463 m1 = the source manifest 463 m1 = the source manifest
464 m2 = the destination manifest 464 m2 = the destination manifest
465 base = the changectx used as a merge base 465 base = the changectx used as a merge base
466 limit = the rev number to not search beyond 466 limit = the rev number to not search beyond
467 diverge = record all diverges in this dict 467 diverge = record all diverges in this dict