mercurial/hgweb/hgweb_mod.py
changeset 26149 fd9b1262f0e4
parent 26138 f77a3f27cea5
child 26160 952e0564b46e
equal deleted inserted replaced
26148:7f49efcaa9b4 26149:fd9b1262f0e4
   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