mercurial/cmdutil.py
changeset 32877 388e1242ed9e
parent 32875 c8f2cf18b82e
child 32878 a3a36bcf122e
--- a/mercurial/cmdutil.py	Sat May 06 17:03:59 2017 +0900
+++ b/mercurial/cmdutil.py	Sat Apr 22 15:28:29 2017 +0900
@@ -2959,7 +2959,7 @@
 
 def buildcommittemplate(repo, ctx, subs, extramsg, tmpl):
     ui = repo.ui
-    spec = _lookuplogtemplate(ui, tmpl, None)
+    spec = logtemplatespec(tmpl, None)
     t = changeset_templater(ui, repo, spec, None, {}, False)
 
     for k, v in repo.ui.configitems('committemplate'):