Mercurial > hg
diff hgext/purge.py @ 6592:f3d7c2e81be1
purge: remove unused 'missing' logic
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 12 May 2008 11:37:08 -0500 |
parents | 10c23c1d5f33 |
children | 41eb20cc1c02 |
line wrap: on
line diff
--- 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()