mercurial/hgweb/webcommands.py
changeset 37993 623dc2651d26
parent 37954 9482498b96b0
child 38043 5989261a8356
--- a/mercurial/hgweb/webcommands.py	Wed Apr 04 21:17:10 2018 +0900
+++ b/mercurial/hgweb/webcommands.py	Wed Apr 04 21:17:55 2018 +0900
@@ -886,7 +886,7 @@
         pfctx = ctx.parents()[0][path]
         leftlines = filelines(pfctx)
 
-    comparison = webutil.compare(web.tmpl, context, leftlines, rightlines)
+    comparison = webutil.compare(context, leftlines, rightlines)
     if fctx is not None:
         rename = webutil.renamelink(fctx)
         ctx = fctx