Mercurial > hg
comparison tests/testlib/exchange-obsmarker-util.sh @ 45765:ed84a4d48910
config: add a new [command-templates] section for templates defined by hg
The existing `[templates]` section lets the user define their own keys
and then refer to them on the command line with `-T`. There are many
cases where hg wants to use a user-defined template with a given name,
such as `ui.logtemplate` and `ui.mergemarkertemplate`. This patch
starts moving such configs in a common section by moving
`ui.logtemplate` to `command-templates.log` (with an alias from the
old name, of course).
Differential Revision: https://phab.mercurial-scm.org/D9245
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 23 Oct 2020 10:56:18 -0700 |
parents | a0100f34e20b |
children |
comparison
equal
deleted
inserted
replaced
45756:79d681753c4d | 45765:ed84a4d48910 |
---|---|
12 [web] | 12 [web] |
13 # We test http pull and push, drop authentication requirement | 13 # We test http pull and push, drop authentication requirement |
14 push_ssl = false | 14 push_ssl = false |
15 allow_push = * | 15 allow_push = * |
16 | 16 |
17 [ui] | 17 [command-templates] |
18 # simpler log output | 18 # simpler log output |
19 logtemplate ="{node|short} ({phase}): {desc}\n" | 19 log ="{node|short} ({phase}): {desc}\n" |
20 | 20 |
21 [phases] | 21 [phases] |
22 # non publishing server | 22 # non publishing server |
23 publish=False | 23 publish=False |
24 | 24 |