hgext/churn.py
changeset 20667 e96e9f805c19
parent 19959 9ef92384415c
child 21163 9846b40d01e7
--- a/hgext/churn.py	Sat Mar 08 16:01:58 2014 -0600
+++ b/hgext/churn.py	Sat Mar 08 16:14:08 2014 -0600
@@ -18,10 +18,10 @@
 def maketemplater(ui, repo, tmpl):
     tmpl = templater.parsestring(tmpl, quoted=False)
     try:
-        t = cmdutil.changeset_templater(ui, repo, False, None, None, False)
+        t = cmdutil.changeset_templater(ui, repo, False, None, tmpl,
+                                        None, False)
     except SyntaxError, inst:
         raise util.Abort(inst.args[0])
-    t.use_template(tmpl)
     return t
 
 def changedlines(ui, repo, ctx1, ctx2, fns):