author | Matt Mackall <mpm@selenic.com> |
Mon, 29 Jun 2009 15:34:17 -0500 | |
changeset 8987 | c68ccda3451b |
parent 8986 | 7f349588665f |
child 8988 | 1247751d9bf8 |
--- a/mercurial/cmdutil.py Tue Jun 30 19:23:50 2009 -0700 +++ b/mercurial/cmdutil.py Mon Jun 29 15:34:17 2009 -0500 @@ -265,7 +265,7 @@ def matchfiles(repo, files): return _match.exact(repo.root, repo.getcwd(), files) -def findrenames(repo, match=None, threshold=0.5): +def findrenames(repo, match, threshold): '''find renamed files -- yields (before, after, score) tuples''' added, removed = repo.status(match=match)[1:3] ctx = repo['.']