diff -r da5d5ea7d696 -r 6ef744a7df65 mercurial/hgweb/common.py --- a/mercurial/hgweb/common.py Thu Oct 19 11:43:19 2017 +0200 +++ b/mercurial/hgweb/common.py Thu Oct 19 11:46:41 2017 +0200 @@ -75,7 +75,7 @@ if deny and (not user or ismember(hgweb.repo.ui, user, deny)): raise ErrorResponse(HTTP_UNAUTHORIZED, 'push not authorized') - allow = hgweb.configlist('web', 'allow_push') + allow = hgweb.configlist('web', 'allow-push') if not (allow and ismember(hgweb.repo.ui, user, allow)): raise ErrorResponse(HTTP_UNAUTHORIZED, 'push not authorized')