Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 3900:2b3175acb653
Don't use node length for calculating revision number length.
Done by moving repo.lookup of revisions from commands.export to patch.export
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 15 Dec 2006 19:30:20 +0100 |
parents | 6081b4c68baf |
children | 0d27502a804c 283ee8971570 |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Dec 15 19:09:10 2006 +0100 +++ b/mercurial/commands.py Fri Dec 15 19:30:20 2006 +0100 @@ -1066,7 +1066,7 @@ ui.note(_('exporting patches:\n')) else: ui.note(_('exporting patch:\n')) - patch.export(repo, map(repo.lookup, revs), template=opts['output'], + patch.export(repo, revs, template=opts['output'], switch_parent=opts['switch_parent'], opts=patch.diffopts(ui, opts))