mercurial/cmdutil.py
changeset 45264 8cce9f77ca73
parent 45072 a56ba57c837d
child 45371 e58e234096de
equal deleted inserted replaced
45263:b7444cfc2c05 45264:8cce9f77ca73
  3373     return text
  3373     return text
  3374 
  3374 
  3375 
  3375 
  3376 def buildcommittemplate(repo, ctx, subs, extramsg, ref):
  3376 def buildcommittemplate(repo, ctx, subs, extramsg, ref):
  3377     ui = repo.ui
  3377     ui = repo.ui
  3378     spec = formatter.templatespec(ref, None, None)
  3378     spec = formatter.reference_templatespec(ref)
  3379     t = logcmdutil.changesettemplater(ui, repo, spec)
  3379     t = logcmdutil.changesettemplater(ui, repo, spec)
  3380     t.t.cache.update(
  3380     t.t.cache.update(
  3381         (k, templater.unquotestring(v))
  3381         (k, templater.unquotestring(v))
  3382         for k, v in repo.ui.configitems(b'committemplate')
  3382         for k, v in repo.ui.configitems(b'committemplate')
  3383     )
  3383     )