mercurial/logcmdutil.py
changeset 45765 ed84a4d48910
parent 45651 c7413ffe0402
child 45766 1f7c077e0640
--- a/mercurial/logcmdutil.py	Mon Oct 26 10:08:22 2020 -0700
+++ b/mercurial/logcmdutil.py	Fri Oct 23 10:56:18 2020 -0700
@@ -623,7 +623,7 @@
 
     # ui settings
     if not tmpl and not style:  # template are stronger than style
-        tmpl = ui.config(b'ui', b'logtemplate')
+        tmpl = ui.config(b'command-templates', b'log')
         if tmpl:
             return formatter.literal_templatespec(templater.unquotestring(tmpl))
         else:
@@ -656,7 +656,7 @@
     Display format will be the first non-empty hit of:
     1. option 'template'
     2. option 'style'
-    3. [ui] setting 'logtemplate'
+    3. [command-templates] setting 'log'
     4. [ui] setting 'style'
     If all of these values are either the unset or the empty string,
     regular display via changesetprinter() is done.