Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/hgweb_mod.py @ 34589:883d06211973
configitems: register the 'web.maxfiles' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 11 Oct 2017 03:41:01 +0200 |
parents | 0d9928a67254 |
children | 95f4e5b1ec92 |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Wed Oct 11 03:39:21 2017 +0200 +++ b/mercurial/hgweb/hgweb_mod.py Wed Oct 11 03:41:01 2017 +0200 @@ -113,7 +113,7 @@ self.maxchanges = self.configint('web', 'maxchanges', 10) self.stripecount = self.configint('web', 'stripes') self.maxshortchanges = self.configint('web', 'maxshortchanges') - self.maxfiles = self.configint('web', 'maxfiles', 10) + self.maxfiles = self.configint('web', 'maxfiles') self.allowpull = self.configbool('web', 'allowpull', True) # we use untrusted=False to prevent a repo owner from using