Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 32431:9fd9f91b0c43
cmdutil: rename template param to export to fntemplate
It's actually a template for the filename, not a formatter template.
author | Augie Fackler <augie@google.com> |
---|---|
date | Sat, 20 May 2017 20:15:05 -0400 |
parents | c942c83ac2ec |
children | bce5ebe72859 |
line wrap: on
line diff
--- 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))