Mercurial > hg
diff hgext/purge.py @ 6582:5acbdd3941c4
walk: remove remaining users of cmdutils.matchpats
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 12 May 2008 11:37:07 -0500 |
parents | 76af1dff402a |
children | 10c23c1d5f33 |
line wrap: on
line diff
--- 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)