diff -r 64f4a6808704 -r 386c1e45e671 mercurial/cmdutil.py --- a/mercurial/cmdutil.py Sun Jan 21 13:47:06 2018 +0900 +++ b/mercurial/cmdutil.py Sun Jan 21 14:28:03 2018 +0900 @@ -2501,7 +2501,7 @@ def buildcommittemplate(repo, ctx, subs, extramsg, ref): ui = repo.ui spec = formatter.templatespec(ref, None, None) - t = logcmdutil.changesettemplater(ui, repo, spec, None, {}, False) + t = logcmdutil.changesettemplater(ui, repo, spec) t.t.cache.update((k, templater.unquotestring(v)) for k, v in repo.ui.configitems('committemplate'))