Mercurial > hg-stable
diff mercurial/help.py @ 36928:521f6c7e1756
templater: split template functions to new module
It has grown enough to be a dedicated module.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 08 Mar 2018 22:23:02 +0900 |
parents | 1fa35ca345a5 |
children | 979c8ce9022d |
line wrap: on
line diff
--- a/mercurial/help.py Thu Mar 08 23:15:09 2018 +0900 +++ b/mercurial/help.py Thu Mar 08 22:23:02 2018 +0900 @@ -26,8 +26,8 @@ pycompat, revset, templatefilters, + templatefuncs, templatekw, - templater, util, ) from .hgweb import ( @@ -309,7 +309,7 @@ addtopicsymbols('revisions', '.. predicatesmarker', revset.symbols) addtopicsymbols('templates', '.. keywordsmarker', templatekw.keywords) addtopicsymbols('templates', '.. filtersmarker', templatefilters.filters) -addtopicsymbols('templates', '.. functionsmarker', templater.funcs) +addtopicsymbols('templates', '.. functionsmarker', templatefuncs.funcs) addtopicsymbols('hgweb', '.. webcommandsmarker', webcommands.commands, dedent=True)