author | Thomas Arendsen Hein <thomas@intevation.de> |
Fri, 26 Aug 2005 16:37:28 +0200 | |
changeset 1067 | fae1204603dc |
parent 1066 | ea878688221e |
child 1068 | 498456c2e8e5 |
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -779,7 +779,7 @@ def export(ui, repo, *changesets, **opts seqno = 0 revs = list(revrange(ui, repo, changesets)) total = len(revs) - revwidth = max(len(revs[0]), len(revs[-1])) + revwidth = max(map(len, revs)) ui.note(len(revs) > 1 and "Exporting patches:\n" or "Exporting patch:\n") for cset in revs: seqno += 1