diff -r 79d7d715f3d0 -r b62000a28812 mercurial/templatekw.py --- a/mercurial/templatekw.py Fri Jul 06 21:38:33 2018 +0900 +++ b/mercurial/templatekw.py Fri Jul 06 21:41:36 2018 +0900 @@ -265,7 +265,7 @@ """ ui = context.resource(mapping, 'ui') ctx = context.resource(mapping, 'ctx') - diffopts = diffutil.diffopts(ui, {'noprefix': False}) + diffopts = diffutil.diffallopts(ui, {'noprefix': False}) diff = ctx.diff(opts=diffopts) stats = patch.diffstatdata(util.iterlines(diff)) maxname, maxtotal, adds, removes, binary = patch.diffstatsum(stats)