diff --git a/contrib/hgk.py b/contrib/hgk.py --- 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: