Mercurial > hg-stable
changeset 6592:f3d7c2e81be1
purge: remove unused 'missing' logic
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 12 May 2008 11:37:08 -0500 |
parents | eda3fd322a7f |
children | 58b6ee2e6c92 |
files | hgext/purge.py |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
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()