--- a/hgext/bugzilla.py Sat Apr 22 18:48:38 2017 +0900
+++ b/hgext/bugzilla.py Sat Apr 22 19:02:47 2017 +0900
@@ -1040,8 +1040,9 @@
if not mapfile and not tmpl:
tmpl = _('changeset {node|short} in repo {root} refers '
'to bug {bug}.\ndetails:\n\t{desc|tabindent}')
- t = cmdutil.changeset_templater(self.ui, self.repo,
- False, None, tmpl, mapfile, False)
+ spec = cmdutil.logtemplatespec(tmpl, mapfile)
+ t = cmdutil.changeset_templater(self.ui, self.repo, spec,
+ False, None, False)
self.ui.pushbuffer()
t.show(ctx, changes=ctx.changeset(),
bug=str(bugid),