changeset 6760 | 4faaa0535ea7 |
parent 6758 | 87c704ac92d4 |
child 6762 | f67d1468ac50 |
--- 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