Mercurial > public > mercurial-scm > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
1625:e1bcf7fa983f | 1626:f2b1df3dbcbb |
---|---|
264 changes=None, text=False): | 264 changes=None, text=False): |
265 if not changes: | 265 if not changes: |
266 changes = repo.changes(node1, node2, files, match=match) | 266 changes = repo.changes(node1, node2, files, match=match) |
267 modified, added, removed, deleted, unknown = changes | 267 modified, added, removed, deleted, unknown = changes |
268 if files: | 268 if files: |
269 modified, added, removed = map(lambda x: filterfiles(x, files), | 269 modified, added, removed = map(lambda x: filterfiles(files, x), |
270 (modified, added, removed)) | 270 (modified, added, removed)) |
271 | 271 |
272 if not modified and not added and not removed: | 272 if not modified and not added and not removed: |
273 return | 273 return |
274 | 274 |