##// END OF EJS Templates
hgweb: another fix for the help termwidth bug
Matt Mackall -
r12696:ef969e58 default
parent child Browse files
Show More
@@ -28,7 +28,7 b' class hgweb(object):'
28 28 if baseui:
29 29 u = baseui.copy()
30 30 else:
31 u = webutil.wsgiui()
31 u = ui.ui()
32 32 self.repo = hg.repository(u, repo)
33 33 else:
34 34 self.repo = repo
@@ -58,7 +58,7 b' class hgwebdir(object):'
58 58 if self.baseui:
59 59 u = self.baseui.copy()
60 60 else:
61 u = webutil.wsgiui()
61 u = ui.ui()
62 62 u.setconfig('ui', 'report_untrusted', 'off')
63 63 u.setconfig('ui', 'interactive', 'off')
64 64
@@ -773,7 +773,7 b' def help(web, req, tmpl):'
773 773 return tmpl('helptopics', topics=topics, earlycommands=earlycommands,
774 774 othercommands=othercommands, title='Index')
775 775
776 u = web.repo.ui
776 u = webutil.wsgiui()
777 777 u.pushbuffer()
778 778 try:
779 779 commands.help_(u, topicname)
General Comments 0
You need to be logged in to leave comments. Login now