diff mercurial/logcmdutil.py @ 45766:1f7c077e0640

config: rename ui.graphnodetemplate to command-templates.graphnode Differential Revision: https://phab.mercurial-scm.org/D9246
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 23 Oct 2020 15:27:33 -0700
parents ed84a4d48910
children 0aa118f18d4b
line wrap: on
line diff
--- a/mercurial/logcmdutil.py	Fri Oct 23 10:56:18 2020 -0700
+++ b/mercurial/logcmdutil.py	Fri Oct 23 15:27:33 2020 -0700
@@ -1111,7 +1111,7 @@
 
 
 def _graphnodeformatter(ui, displayer):
-    spec = ui.config(b'ui', b'graphnodetemplate')
+    spec = ui.config(b'command-templates', b'graphnode')
     if not spec:
         return templatekw.getgraphnode  # fast path for "{graphnode}"