diff hgext/extdiff.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 04baab18d60a
children bb2525871d95
line wrap: on
line diff
--- a/hgext/extdiff.py	Sat May 20 17:58:04 2017 -0400
+++ b/hgext/extdiff.py	Sat May 20 20:15:05 2017 -0400
@@ -240,7 +240,7 @@
         else:
             template = 'hg-%h.patch'
             cmdutil.export(repo, [repo[node1a].rev(), repo[node2].rev()],
-                           template=repo.vfs.reljoin(tmproot, template),
+                           fntemplate=repo.vfs.reljoin(tmproot, template),
                            match=matcher)
             label1a = cmdutil.makefilename(repo, template, node1a)
             label2 = cmdutil.makefilename(repo, template, node2)