Mercurial > hg
comparison mercurial/hgweb/hgweb_mod.py @ 34245: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 |
comparison
equal
deleted
inserted
replaced
34244:fe5202bef5ce | 34245:945c9816ec1d |
---|---|
97 self.reponame = app.reponame | 97 self.reponame = app.reponame |
98 | 98 |
99 self.archivespecs = archivespecs | 99 self.archivespecs = archivespecs |
100 | 100 |
101 self.maxchanges = self.configint('web', 'maxchanges', 10) | 101 self.maxchanges = self.configint('web', 'maxchanges', 10) |
102 self.stripecount = self.configint('web', 'stripes', 1) | 102 self.stripecount = self.configint('web', 'stripes') |
103 self.maxshortchanges = self.configint('web', 'maxshortchanges', 60) | 103 self.maxshortchanges = self.configint('web', 'maxshortchanges', 60) |
104 self.maxfiles = self.configint('web', 'maxfiles', 10) | 104 self.maxfiles = self.configint('web', 'maxfiles', 10) |
105 self.allowpull = self.configbool('web', 'allowpull', True) | 105 self.allowpull = self.configbool('web', 'allowpull', True) |
106 | 106 |
107 # we use untrusted=False to prevent a repo owner from using | 107 # we use untrusted=False to prevent a repo owner from using |