mercurial/hgweb/hgweb_mod.py
changeset 35037 da5d5ea7d696
parent 34806 afd7fd950f6e
child 35856 ef3a24a023ec
child 36753 742ce6fbc109
--- a/mercurial/hgweb/hgweb_mod.py	Fri Nov 10 19:14:06 2017 +0800
+++ b/mercurial/hgweb/hgweb_mod.py	Thu Oct 19 11:43:19 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')
+        self.allowpull = self.configbool('web', 'allow-pull')
 
         # we use untrusted=False to prevent a repo owner from using
         # web.templates in .hg/hgrc to get access to any file readable