mercurial/templatekw.py
changeset 28538 009f58f1ea75
parent 28270 650c9f69a744
child 28539 119702a8b415
--- a/mercurial/templatekw.py	Wed Mar 16 11:57:09 2016 +0000
+++ b/mercurial/templatekw.py	Sun Mar 13 05:17:06 2016 +0900
@@ -574,5 +574,11 @@
     'tags': showtags,
 }
 
+def loadkeyword(ui, extname, registrarobj):
+    """Load template keyword from specified registrarobj
+    """
+    for name, func in registrarobj._table.iteritems():
+        keywords[name] = func
+
 # tell hggettext to extract docstrings from these functions:
 i18nfunctions = keywords.values()