mercurial/hgweb/webcommands.py
changeset 12692 0ac7c5c8121a
parent 12666 ead4e21f49f1
child 12696 ef969e58a394
--- a/mercurial/hgweb/webcommands.py	Sun Oct 10 10:42:44 2010 -0500
+++ b/mercurial/hgweb/webcommands.py	Sun Oct 10 11:05:06 2010 -0500
@@ -14,7 +14,6 @@
 from common import HTTP_OK, HTTP_FORBIDDEN, HTTP_NOT_FOUND
 from mercurial import graphmod
 from mercurial import help as helpmod
-from mercurial import ui
 from mercurial.i18n import _
 
 # __all__ is populated with the allowed commands. Be sure to add to it if
@@ -774,7 +773,7 @@
         return tmpl('helptopics', topics=topics, earlycommands=earlycommands,
                     othercommands=othercommands, title='Index')
 
-    u = ui.ui()
+    u = web.repo.ui
     u.pushbuffer()
     try:
         commands.help_(u, topicname)