mercurial/cmdutil.py
changeset 6760 4faaa0535ea7
parent 6750 fb42030d79d6
child 6762 f67d1468ac50
--- 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():