diff mercurial/configitems.py @ 45793:96fcc37a9c80

rebase: make summary template configurable, with default to shared template Differential Revision: https://phab.mercurial-scm.org/D9251
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 22 Oct 2020 23:10:06 -0700
parents 5effb1992c17
children 21733e8c924f
line wrap: on
line diff
--- a/mercurial/configitems.py	Thu Oct 22 22:29:22 2020 -0700
+++ b/mercurial/configitems.py	Thu Oct 22 23:10:06 2020 -0700
@@ -251,6 +251,15 @@
     default=None,
     alias=[(b'ui', b'pre-merge-tool-output-template')],
 )
+coreconfigitem(
+    b'command-templates', b'oneline-summary', default=None,
+)
+coreconfigitem(
+    b'command-templates',
+    b'oneline-summary.*',
+    default=dynamicdefault,
+    generic=True,
+)
 _registerdiffopts(section=b'commands', configprefix=b'commit.interactive.')
 coreconfigitem(
     b'commands', b'commit.post-status', default=False,