Mercurial > public > mercurial-scm > hg
diff hgext/bugzilla.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 | 31f32a96e1e3 |
children | 37cde285b89c |
line wrap: on
line diff
--- a/hgext/bugzilla.py Sat Mar 08 16:01:58 2014 -0600 +++ b/hgext/bugzilla.py Sat Mar 08 16:14:08 2014 -0600 @@ -879,14 +879,13 @@ mapfile = self.ui.config('bugzilla', 'style') tmpl = self.ui.config('bugzilla', 'template') - t = cmdutil.changeset_templater(self.ui, self.repo, - False, None, mapfile, False) if not mapfile and not tmpl: tmpl = _('changeset {node|short} in repo {root} refers ' 'to bug {bug}.\ndetails:\n\t{desc|tabindent}') if tmpl: tmpl = templater.parsestring(tmpl, quoted=False) - t.use_template(tmpl) + t = cmdutil.changeset_templater(self.ui, self.repo, + False, None, tmpl, mapfile, False) self.ui.pushbuffer() t.show(ctx, changes=ctx.changeset(), bug=str(bugid),