changeset 45866:996cd73431a3

help: document the new [command-templates] config section Differential Revision: https://phab.mercurial-scm.org/D9265
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 30 Oct 2020 13:26:18 -0700
parents d7a508a75d72
children 774b1c0f2507
files mercurial/helptext/config.txt
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/helptext/config.txt	Sun Nov 08 16:23:35 2020 -0500
+++ b/mercurial/helptext/config.txt	Fri Oct 30 13:26:18 2020 -0700
@@ -2568,6 +2568,14 @@
 
     Can be overridden per-merge-tool, see the ``[merge-tools]`` section.
 
+``oneline-summary``
+    A template used by `hg rebase` and other commands for showing a one-line
+    summary of a commit. If the template configured here is longer than one
+    line, then only the first line is used.
+
+    The template can be overridden per command by defining a template in
+    `oneline-summary.<command>`, where `<command>` can be e.g. "rebase".
+
 ``pre-merge-tool-output``
     A template that is printed before executing an external merge tool. This can
     be used to print out additional context that might be useful to have during