mercurial/cmdutil.py
changeset 45264 8cce9f77ca73
parent 45072 a56ba57c837d
child 45371 e58e234096de
--- a/mercurial/cmdutil.py	Wed Jul 29 10:42:09 2020 -0700
+++ b/mercurial/cmdutil.py	Thu Jul 16 13:33:46 2020 -0700
@@ -3375,7 +3375,7 @@
 
 def buildcommittemplate(repo, ctx, subs, extramsg, ref):
     ui = repo.ui
-    spec = formatter.templatespec(ref, None, None)
+    spec = formatter.reference_templatespec(ref)
     t = logcmdutil.changesettemplater(ui, repo, spec)
     t.t.cache.update(
         (k, templater.unquotestring(v))