hgext/churn.py
changeset 9321 d7b6429c5ad4
parent 9254 db13255617b3
child 9367 1ef630452e0b
child 9557 dbe2bdd5e488
--- a/hgext/churn.py	Thu Aug 06 00:34:28 2009 +0200
+++ b/hgext/churn.py	Wed Aug 05 17:17:06 2009 -0700
@@ -24,7 +24,7 @@
 
 def changedlines(ui, repo, ctx1, ctx2, fns):
     lines = 0
-    fmatch = cmdutil.match(repo, pats=fns)
+    fmatch = cmdutil.matchfiles(repo, fns)
     diff = ''.join(patch.diff(repo, ctx1.node(), ctx2.node(), fmatch))
     for l in diff.split('\n'):
         if (l.startswith("+") and not l.startswith("+++ ") or