mercurial/hgweb/webcommands.py
changeset 34246 db63872e10cc
parent 34238 a6c18628dff1
child 34390 f6492f482c60
--- a/mercurial/hgweb/webcommands.py	Fri Jun 30 03:45:51 2017 +0200
+++ b/mercurial/hgweb/webcommands.py	Fri Jun 30 03:45:52 2017 +0200
@@ -762,7 +762,7 @@
         ctx = fctx.changectx()
     basectx = ctx.p1()
 
-    style = web.config('web', 'style', 'paper')
+    style = web.config('web', 'style')
     if 'style' in req.form:
         style = req.form['style'][0]
 
@@ -999,7 +999,7 @@
     revs = fctx.filelog().revs(start, end - 1)
     entries = []
 
-    diffstyle = web.config('web', 'style', 'paper')
+    diffstyle = web.config('web', 'style')
     if 'style' in req.form:
         diffstyle = req.form['style'][0]