mercurial/commands.py
changeset 32469 9fd9f91b0c43
parent 32416 c942c83ac2ec
child 32489 bce5ebe72859
--- a/mercurial/commands.py	Sat May 20 17:58:04 2017 -0400
+++ b/mercurial/commands.py	Sat May 20 20:15:05 2017 -0400
@@ -2001,7 +2001,7 @@
     else:
         ui.note(_('exporting patch:\n'))
     ui.pager('export')
-    cmdutil.export(repo, revs, template=opts.get('output'),
+    cmdutil.export(repo, revs, fntemplate=opts.get('output'),
                  switch_parent=opts.get('switch_parent'),
                  opts=patch.diffallopts(ui, opts))