diff -r 9d2ab50803e9 -r 4faaa0535ea7 mercurial/patch.py --- 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