contrib/hgk.py
changeset 1626 f2b1df3dbcbb
parent 1619 1ba0d7041ac4
child 1950 5f581f337b05
--- a/contrib/hgk.py
+++ b/contrib/hgk.py
@@ -17,7 +17,7 @@ def dodiff(fp, ui, repo, node1, node2, f
         changes = repo.changes(node1, node2, files, match=match)
     modified, added, removed, deleted, unknown = changes
     if files:
-        modified, added, removed = map(lambda x: filterfiles(x, files),
+        modified, added, removed = map(lambda x: filterfiles(files, x),
                                        (modified, added, removed))
 
     if not modified and not added and not removed: