Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/mercurial/help/config.txt Sun Apr 03 13:23:40 2016 +0900 +++ b/mercurial/help/config.txt Sun Mar 27 20:59:36 2016 +0900 @@ -1488,6 +1488,11 @@ rewrite rules are then applied on the full (absolute) path. The rules are applied in definition order. +``templatealias`` +----------------- + +Alias definitions for templates. See :hg:`help templates` for details. + ``trusted`` -----------