--- a/mercurial/hgweb/webcommands.py Mon Mar 27 09:44:36 2017 +0900
+++ b/mercurial/hgweb/webcommands.py Mon Mar 13 10:40:19 2017 +0100
@@ -756,12 +756,11 @@
ctx = fctx.changectx()
basectx = ctx.p1()
- parity = paritygen(web.stripecount)
style = web.config('web', 'style', 'paper')
if 'style' in req.form:
style = req.form['style'][0]
- diffs = webutil.diffs(web.repo, tmpl, ctx, basectx, [path], parity, style)
+ diffs = webutil.diffs(web, tmpl, ctx, basectx, [path], style)
if fctx is not None:
rename = webutil.renamelink(fctx)
ctx = fctx