diff mercurial/hgweb/hgweb_mod.py @ 34252:945c9816ec1d

configitems: register the 'web.stripes' config
author Boris Feld <boris.feld@octobus.net>
date Fri, 30 Jun 2017 03:45:51 +0200
parents 344fd1fe237b
children 8afc25e7effc
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py	Fri Jun 30 03:45:50 2017 +0200
+++ b/mercurial/hgweb/hgweb_mod.py	Fri Jun 30 03:45:51 2017 +0200
@@ -99,7 +99,7 @@
         self.archivespecs = archivespecs
 
         self.maxchanges = self.configint('web', 'maxchanges', 10)
-        self.stripecount = self.configint('web', 'stripes', 1)
+        self.stripecount = self.configint('web', 'stripes')
         self.maxshortchanges = self.configint('web', 'maxshortchanges', 60)
         self.maxfiles = self.configint('web', 'maxfiles', 10)
         self.allowpull = self.configbool('web', 'allowpull', True)