purge: remove unused 'missing' logic
authorMatt Mackall <mpm@selenic.com>
Mon, 12 May 2008 11:37:08 -0500
changeset 6592 f3d7c2e81be1
parent 6591 eda3fd322a7f
child 6593 58b6ee2e6c92
purge: remove unused 'missing' logic
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()