diff mercurial/hgweb/webcommands.py @ 12696:ef969e58a394

hgweb: another fix for the help termwidth bug
author Matt Mackall <mpm@selenic.com>
date Sun, 10 Oct 2010 17:35:28 -0500
parents 0ac7c5c8121a
children a38df1250945
line wrap: on
line diff
--- 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)