##// END OF EJS Templates
hgweb: load globally-enabled extensions explicitly...
Yuya Nishihara -
r40759:2cd5f1fa default
parent child Browse files
Show More
@@ -22,6 +22,7 b' from .common import ('
22 22 from .. import (
23 23 encoding,
24 24 error,
25 extensions,
25 26 formatter,
26 27 hg,
27 28 hook,
@@ -212,6 +213,7 b' class hgweb(object):'
212 213 u = baseui.copy()
213 214 else:
214 215 u = uimod.ui.load()
216 extensions.loadall(u)
215 217 r = hg.repository(u, repo)
216 218 else:
217 219 # we trust caller to give us a private copy
@@ -30,6 +30,7 b' from .. import ('
30 30 configitems,
31 31 encoding,
32 32 error,
33 extensions,
33 34 hg,
34 35 profiling,
35 36 pycompat,
@@ -268,6 +269,9 b' class hgwebdir(object):'
268 269 self.lastrefresh = 0
269 270 self.motd = None
270 271 self.refresh()
272 if not baseui:
273 # set up environment for new ui
274 extensions.loadall(self.ui)
271 275
272 276 def refresh(self):
273 277 if self.ui:
General Comments 0
You need to be logged in to leave comments. Login now