mercurial/hgweb/webutil.py
changeset 38519 4455e5d4d59c
parent 38475 67dc32d4e790
child 38566 1770416de208
--- a/mercurial/hgweb/webutil.py	Sun Jul 01 01:00:39 2018 +0530
+++ b/mercurial/hgweb/webutil.py	Tue May 22 15:02:52 2018 +0200
@@ -658,7 +658,7 @@
     '''Generator function that provides the diffstat data.'''
 
     stats = patch.diffstatdata(
-        util.iterlines(ctx.diff(basectx, noprefix=False)))
+        util.iterlines(ctx.diff(basectx, opts={'noprefix': False})))
     maxname, maxtotal, addtotal, removetotal, binary = patch.diffstatsum(stats)
     while True:
         yield stats, maxname, maxtotal, addtotal, removetotal, binary