mercurial/extensions.py
changeset 34186 f7c9c5d8c7f4
parent 34128 82bd4c5a81e5
child 34187 4c5730c21523
--- a/mercurial/extensions.py	Fri Jun 30 03:45:56 2017 +0200
+++ b/mercurial/extensions.py	Tue Sep 05 00:31:59 2017 +0200
@@ -288,7 +288,9 @@
         ('templatefunc', templater, 'loadfunction'),
         ('templatekeyword', templatekw, 'loadkeyword'),
     ]
+    _loadextra(ui, newindex, extraloaders)
 
+def _loadextra(ui, newindex, extraloaders):
     for name in _order[newindex:]:
         module = _extensions[name]
         if not module: