Patchwork D9266: relnotes: document new [command-templates] section

login
register
mail settings
Submitter phabricator
Date Oct. 30, 2020, 8:27 p.m.
Message ID <differential-rev-PHID-DREV-3rwjtx6dgkihjvzyng7w-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47537/
State Superseded
Headers show

Comments

phabricator - Oct. 30, 2020, 8:27 p.m.
martinvonz created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9266

AFFECTED FILES
  relnotes/next

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/relnotes/next b/relnotes/next
--- a/relnotes/next
+++ b/relnotes/next
@@ -4,6 +4,23 @@ 
  * The memory footprint per changeset and per file during pull/unbundle
    operations has been significantly reduced.
 
+ * There is a new config section for templates used by hg commands. It
+   is called `[command-templates]`. Some existing config options have
+   been deprecated in favor of config options in the new
+   section. These are: `ui.logtemplate` to `command-templates.log`,
+   `ui.graphnodetemplate` to `command-templates.graphnode`,
+   `ui.mergemarkertemplate` to `command-templates.mergemarker`,
+   `ui.pre-merge-tool-output-template` to
+   `command-templates.pre-merge-tool-output`.
+
+ * There is a new set of config options for the template used for the
+   one-line commit summary displayed by various commands, such as `hg
+   rebase`. The main one is `command-templates.oneline-summary`. That
+   can be overridden per command with
+   `command-templates.oneline-summary.<command>`, where `<command>`
+   can be e.g. `rebase`. As part of this effort, the default format
+   from `hg rebase` was reorganized a bit.
+
 
 == New Experimental Features ==