mercurial/similar.py
changeset 51700 7f0cb9ee0534
parent 51690 493034cc3265
child 51703 ca7bde5dbafb
--- a/mercurial/similar.py	Mon Jul 22 16:49:38 2024 +0200
+++ b/mercurial/similar.py	Tue Jul 23 10:02:46 2024 +0200
@@ -118,14 +118,14 @@
 
     # Find exact matches.
     matchedfiles = set()
-    for a, b in _findexactmatches(repo, addedfiles, removedfiles):
+    for (a, b) in _findexactmatches(repo, addedfiles, removedfiles):
         matchedfiles.add(b)
         yield (a.path(), b.path(), 1.0)
 
     # If the user requested similar files to be matched, search for them also.
     if threshold < 1.0:
         addedfiles = [x for x in addedfiles if x not in matchedfiles]
-        for a, b, score in _findsimilarmatches(
+        for (a, b, score) in _findsimilarmatches(
             repo, addedfiles, removedfiles, threshold
         ):
             yield (a.path(), b.path(), score)