comparison mercurial/help/config.txt @ 28957:d813132ea361

templater: load and expand aliases by template engine (API) (issue4842) Now template aliases are fully supported in log and formatter templates. As I said before, aliases are not expanded in map files. This avoids possible corruption of our stock styles and web templates. This behavior is undocumented since no map file nor [templates] section are documented at all. Later on, we might want to add [aliases] section to map files if it appears to be useful.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 27 Mar 2016 20:59:36 +0900
parents 18f2fc517098
children db74d95299af dd9175ca81dc
comparison
equal deleted inserted replaced
28956:eea98190ed73 28957:d813132ea361
1486 1486
1487 Relative subrepository paths are first made absolute, and the 1487 Relative subrepository paths are first made absolute, and the
1488 rewrite rules are then applied on the full (absolute) path. The rules 1488 rewrite rules are then applied on the full (absolute) path. The rules
1489 are applied in definition order. 1489 are applied in definition order.
1490 1490
1491 ``templatealias``
1492 -----------------
1493
1494 Alias definitions for templates. See :hg:`help templates` for details.
1495
1491 ``trusted`` 1496 ``trusted``
1492 ----------- 1497 -----------
1493 1498
1494 Mercurial will not use the settings in the 1499 Mercurial will not use the settings in the
1495 ``.hg/hgrc`` file from a repository if it doesn't belong to a trusted 1500 ``.hg/hgrc`` file from a repository if it doesn't belong to a trusted