equal
deleted
inserted
replaced
154 # break some wsgi implementation. |
154 # break some wsgi implementation. |
155 r.ui.setconfig('progress', 'disable', 'true', 'hgweb') |
155 r.ui.setconfig('progress', 'disable', 'true', 'hgweb') |
156 r.baseui.setconfig('progress', 'disable', 'true', 'hgweb') |
156 r.baseui.setconfig('progress', 'disable', 'true', 'hgweb') |
157 self.repo = r |
157 self.repo = r |
158 hook.redirect(True) |
158 hook.redirect(True) |
159 self.repostate = ((-1, -1), (-1, -1)) |
159 self.repostate = None |
160 self.mtime = -1 |
160 self.mtime = -1 |
161 self.reponame = name |
161 self.reponame = name |
162 # we use untrusted=False to prevent a repo owner from using |
162 # we use untrusted=False to prevent a repo owner from using |
163 # web.templates in .hg/hgrc to get access to any file readable |
163 # web.templates in .hg/hgrc to get access to any file readable |
164 # by the user running the CGI script |
164 # by the user running the CGI script |