Mercurial > hg
diff contrib/hgk.py @ 1626:f2b1df3dbcbb
make the order of the arguments for filterfiles consistent
fix a bug where the order was reversed
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Wed, 18 Jan 2006 16:55:05 +0100 |
parents | 1ba0d7041ac4 |
children | 5f581f337b05 |
line wrap: on
line diff
--- a/contrib/hgk.py Tue Jan 17 16:10:22 2006 +0100 +++ b/contrib/hgk.py Wed Jan 18 16:55:05 2006 +0100 @@ -17,7 +17,7 @@ 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: