Show More
@@ -28,7 +28,7 b' class hgweb(object):' | |||||
28 | if baseui: |
|
28 | if baseui: | |
29 | u = baseui.copy() |
|
29 | u = baseui.copy() | |
30 | else: |
|
30 | else: | |
31 |
u = |
|
31 | u = ui.ui() | |
32 | self.repo = hg.repository(u, repo) |
|
32 | self.repo = hg.repository(u, repo) | |
33 | else: |
|
33 | else: | |
34 | self.repo = repo |
|
34 | self.repo = repo |
@@ -58,7 +58,7 b' class hgwebdir(object):' | |||||
58 | if self.baseui: |
|
58 | if self.baseui: | |
59 | u = self.baseui.copy() |
|
59 | u = self.baseui.copy() | |
60 | else: |
|
60 | else: | |
61 |
u = |
|
61 | u = ui.ui() | |
62 | u.setconfig('ui', 'report_untrusted', 'off') |
|
62 | u.setconfig('ui', 'report_untrusted', 'off') | |
63 | u.setconfig('ui', 'interactive', 'off') |
|
63 | u.setconfig('ui', 'interactive', 'off') | |
64 |
|
64 |
@@ -773,7 +773,7 b' def help(web, req, tmpl):' | |||||
773 | return tmpl('helptopics', topics=topics, earlycommands=earlycommands, |
|
773 | return tmpl('helptopics', topics=topics, earlycommands=earlycommands, | |
774 | othercommands=othercommands, title='Index') |
|
774 | othercommands=othercommands, title='Index') | |
775 |
|
775 | |||
776 |
u = web. |
|
776 | u = webutil.wsgiui() | |
777 | u.pushbuffer() |
|
777 | u.pushbuffer() | |
778 | try: |
|
778 | try: | |
779 | commands.help_(u, topicname) |
|
779 | commands.help_(u, topicname) |
General Comments 0
You need to be logged in to leave comments.
Login now