--- a/mercurial/hgweb/hgweb_mod.py Sun Oct 10 12:21:49 2010 -0500
+++ b/mercurial/hgweb/hgweb_mod.py Sun Oct 10 17:35:28 2010 -0500
@@ -28,7 +28,7 @@
if baseui:
u = baseui.copy()
else:
- u = webutil.wsgiui()
+ u = ui.ui()
self.repo = hg.repository(u, repo)
else:
self.repo = repo
--- a/mercurial/hgweb/hgwebdir_mod.py Sun Oct 10 12:21:49 2010 -0500
+++ b/mercurial/hgweb/hgwebdir_mod.py Sun Oct 10 17:35:28 2010 -0500
@@ -58,7 +58,7 @@
if self.baseui:
u = self.baseui.copy()
else:
- u = webutil.wsgiui()
+ u = ui.ui()
u.setconfig('ui', 'report_untrusted', 'off')
u.setconfig('ui', 'interactive', 'off')
--- a/mercurial/hgweb/webcommands.py Sun Oct 10 12:21:49 2010 -0500
+++ b/mercurial/hgweb/webcommands.py Sun Oct 10 17:35:28 2010 -0500
@@ -773,7 +773,7 @@
return tmpl('helptopics', topics=topics, earlycommands=earlycommands,
othercommands=othercommands, title='Index')
- u = web.repo.ui
+ u = webutil.wsgiui()
u.pushbuffer()
try:
commands.help_(u, topicname)