mercurial/commands.py
changeset 3900 2b3175acb653
parent 3883 6081b4c68baf
child 3902 0d27502a804c
child 3913 283ee8971570
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1066,7 +1066,7 @@ def export(ui, repo, *changesets, **opts
         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))