changeset 8987:c68ccda3451b

findrenames: drop unused argument defaults
author Matt Mackall <mpm@selenic.com>
date Mon, 29 Jun 2009 15:34:17 -0500
parents 7f349588665f
children 1247751d9bf8
files mercurial/cmdutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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['.']