Mercurial > public > mercurial-scm > hg
diff mercurial/hgweb/webutil.py @ 34246:db63872e10cc
configitems: register the 'web.style' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:45:52 +0200 |
parents | ca3b4a2b7e54 |
children | f6492f482c60 |
line wrap: on
line diff
--- a/mercurial/hgweb/webutil.py Fri Jun 30 03:45:51 2017 +0200 +++ b/mercurial/hgweb/webutil.py Fri Jun 30 03:45:52 2017 +0200 @@ -406,7 +406,7 @@ if basectx is None: basectx = ctx.p1() - style = web.config('web', 'style', 'paper') + style = web.config('web', 'style') if 'style' in req.form: style = req.form['style'][0]