Mercurial > hg
comparison mercurial/hgweb/hgweb_mod.py @ 34590:95f4e5b1ec92
configitems: register the 'web.maxchanges' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 11 Oct 2017 03:41:48 +0200 |
parents | 883d06211973 |
children | 56816cfc4951 |
comparison
equal
deleted
inserted
replaced
34589:883d06211973 | 34590:95f4e5b1ec92 |
---|---|
108 self.repo = repo | 108 self.repo = repo |
109 self.reponame = app.reponame | 109 self.reponame = app.reponame |
110 | 110 |
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') |
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') | 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 |