diff mercurial/registrar.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 e8d37838f5df
children 54355c243042
line wrap: on
line diff
--- a/mercurial/registrar.py	Thu Mar 08 23:15:09 2018 +0900
+++ b/mercurial/registrar.py	Thu Mar 08 22:23:02 2018 +0900
@@ -368,7 +368,7 @@
     extension, if an instance named as 'templatefunc' is used for
     decorating in extension.
 
-    Otherwise, explicit 'templater.loadfunction()' is needed.
+    Otherwise, explicit 'templatefuncs.loadfunction()' is needed.
     """
     _getname = _funcregistrarbase._parsefuncdecl