mercurial/similar.py
changeset 29337 f72d0c2148da
parent 28468 0d6b3630b9a3
child 29341 0d83ad967bf8
equal deleted inserted replaced
29336:9368ed12f3c0 29337:f72d0c2148da
   104     # If the user requested similar files to be matched, search for them also.
   104     # If the user requested similar files to be matched, search for them also.
   105     if threshold < 1.0:
   105     if threshold < 1.0:
   106         for (a, b, score) in _findsimilarmatches(repo,
   106         for (a, b, score) in _findsimilarmatches(repo,
   107                 sorted(addedfiles), sorted(removedfiles), threshold):
   107                 sorted(addedfiles), sorted(removedfiles), threshold):
   108             yield (a.path(), b.path(), score)
   108             yield (a.path(), b.path(), score)
   109