Mercurial > hg
comparison tests/test-obsolete-distributed.t @ 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 | bd7b2c8d06cc |
children | 95c4cca641f6 |
comparison
equal
deleted
inserted
replaced
45756:79d681753c4d | 45765:ed84a4d48910 |
---|---|
14 > rebase = | 14 > rebase = |
15 > [experimental] | 15 > [experimental] |
16 > evolution = all | 16 > evolution = all |
17 > [phases] | 17 > [phases] |
18 > publish = False | 18 > publish = False |
19 > [ui] | 19 > [command-templates] |
20 > logtemplate= {rev}:{node|short} {desc}{if(obsfate, " [{join(obsfate, "; ")}]")}\n | 20 > log = {rev}:{node|short} {desc}{if(obsfate, " [{join(obsfate, "; ")}]")}\n |
21 > EOF | 21 > EOF |
22 | 22 |
23 Check distributed chain building | 23 Check distributed chain building |
24 ================================ | 24 ================================ |
25 | 25 |