diff -r a57a27b12965 -r 41eb20cc1c02 hgext/purge.py --- a/hgext/purge.py Mon May 12 11:37:08 2008 -0500 +++ b/hgext/purge.py Mon May 12 11:37:08 2008 -0500 @@ -86,8 +86,7 @@ files = [] match = cmdutil.match(repo, dirs, opts) match.dir = directories.append - for src, f, st in repo.dirstate.statwalk(match.files(), match, - ignored=ignored): + for src, f, st in repo.dirstate.statwalk(match, ignored=ignored): if src == 'f' and f not in repo.dirstate: files.append(f)