Mercurial > hg-stable
diff mercurial/filemerge.py @ 45790:40411ad2f5d2
config: rename ui.mergemarkertemplate to command-templates.mergemarker
Differential Revision: https://phab.mercurial-scm.org/D9247
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 23 Oct 2020 15:59:32 -0700 |
parents | aa790f7c967a |
children | 5effb1992c17 |
line wrap: on
line diff
--- a/mercurial/filemerge.py Fri Oct 23 15:27:33 2020 -0700 +++ b/mercurial/filemerge.py Fri Oct 23 15:59:32 2020 -0700 @@ -831,7 +831,7 @@ ca = fca.changectx() ui = repo.ui - template = ui.config(b'ui', b'mergemarkertemplate') + template = ui.config(b'command-templates', b'mergemarker') if tool is not None: template = _toolstr(ui, tool, b'mergemarkertemplate', template) template = templater.unquotestring(template) @@ -1100,7 +1100,7 @@ labeltool = None if markerstyle != b'basic': # respect 'tool's mergemarkertemplate (which defaults to - # ui.mergemarkertemplate) + # command-templates.mergemarker) labeltool = tool if internalmarkerstyle != b'basic' or markerstyle != b'basic': premergelabels = _formatlabels(