changeset 6582 | 5acbdd3941c4 |
parent 6574 | 76af1dff402a |
child 6588 | 10c23c1d5f33 |
--- a/hgext/purge.py Mon May 12 11:37:07 2008 -0500 +++ b/hgext/purge.py Mon May 12 11:37:07 2008 -0500 @@ -85,8 +85,8 @@ directories = [] files = [] missing = [] - roots, match, anypats = cmdutil.matchpats(repo, dirs, opts) - for src, f, st in repo.dirstate.statwalk(roots, match, + match = cmdutil.match(repo, dirs, opts) + for src, f, st in repo.dirstate.statwalk(match.files(), match, ignored=ignored, directories=True): if src == 'd': directories.append(f)