Mercurial > public > mercurial-scm > hg
diff hgext/churn.py @ 20667:e96e9f805c19
changeset_templater: remove use_template method
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 08 Mar 2014 16:14:08 -0600 |
parents | 9ef92384415c |
children | 9846b40d01e7 |
line wrap: on
line diff
--- 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):