Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/commands.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 | e1bcf7fa983f |
children | 94c179a92f4a |
line wrap: on
line diff
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -266,7 +266,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: