mercurial/hgweb/hgweb_mod.py
changeset 34589 883d06211973
parent 34588 0d9928a67254
child 34590 95f4e5b1ec92
equal deleted inserted replaced
34588:0d9928a67254 34589:883d06211973
   111         self.archivespecs = archivespecs
   111         self.archivespecs = archivespecs
   112 
   112 
   113         self.maxchanges = self.configint('web', 'maxchanges', 10)
   113         self.maxchanges = self.configint('web', 'maxchanges', 10)
   114         self.stripecount = self.configint('web', 'stripes')
   114         self.stripecount = self.configint('web', 'stripes')
   115         self.maxshortchanges = self.configint('web', 'maxshortchanges')
   115         self.maxshortchanges = self.configint('web', 'maxshortchanges')
   116         self.maxfiles = self.configint('web', 'maxfiles', 10)
   116         self.maxfiles = self.configint('web', 'maxfiles')
   117         self.allowpull = self.configbool('web', 'allowpull', True)
   117         self.allowpull = self.configbool('web', 'allowpull', True)
   118 
   118 
   119         # we use untrusted=False to prevent a repo owner from using
   119         # we use untrusted=False to prevent a repo owner from using
   120         # web.templates in .hg/hgrc to get access to any file readable
   120         # web.templates in .hg/hgrc to get access to any file readable
   121         # by the user running the CGI script
   121         # by the user running the CGI script