diff mercurial/cmdutil.py @ 6760:4faaa0535ea7

status: clean up all users for unknown files
author Matt Mackall <mpm@selenic.com>
date Fri, 27 Jun 2008 13:43:29 -0500
parents fb42030d79d6
children f67d1468ac50
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Thu Jun 26 18:49:45 2008 -0500
+++ b/mercurial/cmdutil.py	Fri Jun 27 13:43:29 2008 -0500
@@ -1158,8 +1158,7 @@
 
     m = match(repo, pats, opts)
     if pats:
-        status = repo.status(match=m)
-        modified, added, removed, deleted, unknown = status[:5]
+        modified, added, removed = repo.status(match=m)[:3]
         files = modified + added + removed
         slist = None
         for f in m.files():