mercurial/commands.py
changeset 3902 0d27502a804c
parent 3893 6b4127c7d52a
parent 3900 2b3175acb653
child 3919 b12eae71382d
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1065,7 +1065,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))