mercurial/hgweb/webcommands.py
changeset 31660 c2dbd818e884
parent 31082 abb92b3d370e
child 31661 f36dc643ffdc
--- 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