diff -r 433cfad4bc46 -r 1fb9e01328e4 mercurial/hgweb/webutil.py --- a/mercurial/hgweb/webutil.py Mon Feb 26 01:01:35 2018 -0500 +++ b/mercurial/hgweb/webutil.py Mon Feb 26 16:16:37 2018 +0530 @@ -449,7 +449,7 @@ diffsummary=lambda **x: diffsummary(diffstatsgen), diffstat=diffstats, archives=web.archivelist(ctx.hex()), - **commonentry(web.repo, ctx)) + **pycompat.strkwargs(commonentry(web.repo, ctx))) def listfilediffs(tmpl, files, node, max): for f in files[:max]: