hgext/bugzilla.py
changeset 32839 b425ec7fb7f6
parent 32574 870248603a4e
child 33393 01a90fed5840
--- 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),