diff mercurial/patch.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 87c704ac92d4
children f67d1468ac50
line wrap: on
line diff
--- a/mercurial/patch.py	Thu Jun 26 18:49:45 2008 -0500
+++ b/mercurial/patch.py	Fri Jun 27 13:43:29 2008 -0500
@@ -1189,8 +1189,8 @@
     date1 = util.datestr(ctx1.date())
 
     if not changes:
-        changes = repo.status(node1, node2, match=match)[:5]
-    modified, added, removed, deleted, unknown = changes
+        changes = repo.status(node1, node2, match=match)
+    modified, added, removed = changes[:3]
 
     if not modified and not added and not removed:
         return