equal
deleted
inserted
replaced
89 removedfiles = set([parentctx[fp] for fp in removed |
89 removedfiles = set([parentctx[fp] for fp in removed |
90 if fp in parentctx and parentctx[fp].size() > 0]) |
90 if fp in parentctx and parentctx[fp].size() > 0]) |
91 |
91 |
92 # Find exact matches. |
92 # Find exact matches. |
93 for (a, b) in _findexactmatches(repo, |
93 for (a, b) in _findexactmatches(repo, |
94 sorted(addedfiles),sorted( removedfiles)): |
94 sorted(addedfiles), sorted(removedfiles)): |
95 addedfiles.remove(b) |
95 addedfiles.remove(b) |
96 yield (a.path(), b.path(), 1.0) |
96 yield (a.path(), b.path(), 1.0) |
97 |
97 |
98 # If the user requested similar files to be matched, search for them also. |
98 # If the user requested similar files to be matched, search for them also. |
99 if threshold < 1.0: |
99 if threshold < 1.0: |