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