Mercurial > hg
diff mercurial/hgweb/hgweb_mod.py @ 34602:56816cfc4951
configitems: register the 'web.allowpull' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 11 Oct 2017 04:12:50 +0200 |
parents | 95f4e5b1ec92 |
children | 625202a44d88 |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Wed Oct 11 04:12:34 2017 +0200 +++ b/mercurial/hgweb/hgweb_mod.py Wed Oct 11 04:12:50 2017 +0200 @@ -114,7 +114,7 @@ self.stripecount = self.configint('web', 'stripes') self.maxshortchanges = self.configint('web', 'maxshortchanges') self.maxfiles = self.configint('web', 'maxfiles') - self.allowpull = self.configbool('web', 'allowpull', True) + self.allowpull = self.configbool('web', 'allowpull') # we use untrusted=False to prevent a repo owner from using # web.templates in .hg/hgrc to get access to any file readable