# HG changeset patch # User Matt Mackall # Date 1246307657 18000 # Node ID c68ccda3451ba0f85213eadbdc396f74a08a477b # Parent 7f349588665f4266f1cecdddcb43ac1391b9464b findrenames: drop unused argument defaults diff -r 7f349588665f -r c68ccda3451b mercurial/cmdutil.py --- 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['.']