# HG changeset patch # User Yuya Nishihara # Date 1522841476 -32400 # Node ID d32f07069dd1d4d2f90f74f937e574029545d762 # Parent 8e9ce73ceb151348d20a443f9157b0d804350637 hgweb: wrap {diffopts} of annotate by hybriddict() The diffopts here is a plain dict, which should be wrapped by hybriddict. diff -r 8e9ce73ceb15 -r d32f07069dd1 mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Wed Apr 04 20:29:58 2018 +0900 +++ b/mercurial/hgweb/webcommands.py Wed Apr 04 20:31:16 2018 +0900 @@ -992,7 +992,7 @@ rename=webutil.renamelink(fctx), permissions=fctx.manifest().flags(f), ishead=int(ishead), - diffopts=diffopts, + diffopts=templateutil.hybriddict(diffopts), **pycompat.strkwargs(webutil.commonentry(web.repo, fctx))) @webcommand('filelog')