mercurial/hgweb/webcommands.py
changeset 41397 0bd56c291359
parent 40936 e06719b7544d
child 43076 2372284d9457
--- a/mercurial/hgweb/webcommands.py	Mon Jan 21 15:29:14 2019 +0000
+++ b/mercurial/hgweb/webcommands.py	Fri Jan 25 23:36:23 2019 -0800
@@ -884,7 +884,7 @@
             leftlines = filelines(pfctx)
     else:
         rightlines = ()
-        pfctx = ctx.parents()[0][path]
+        pfctx = ctx.p1()[path]
         leftlines = filelines(pfctx)
 
     comparison = webutil.compare(context, leftlines, rightlines)