# HG changeset patch # User Matt Mackall # Date 1210610228 18000 # Node ID f3d7c2e81be12d40f1a2743f1cc68bc6da86efed # Parent eda3fd322a7f8dd3892de6444b55d45b8c0d16d3 purge: remove unused 'missing' logic diff -r eda3fd322a7f -r f3d7c2e81be1 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 @@ -84,14 +84,11 @@ directories = [] files = [] - missing = [] match = cmdutil.match(repo, dirs, opts) match.dir = directories.append for src, f, st in repo.dirstate.statwalk(match.files(), match, ignored=ignored): - if src == 'm': - missing.append(f) - elif src == 'f' and f not in repo.dirstate: + if src == 'f' and f not in repo.dirstate: files.append(f) directories.sort()