# HG changeset patch # User Siddharth Agarwal # Date 2014-11-22 00:16:03 # Node ID 4fedf2a9b538961d982836eec152562ae51e17c4 # Parent 20932983d520bbac083a4aff8875384026abc032 webcommands.annotate: explicitly only honor whitespace diffopts The whitespace ones are the only ones the annotate logic cares about anyway, so there's no visible impact. diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py +++ b/mercurial/hgweb/webcommands.py @@ -753,7 +753,8 @@ def annotate(web, req, tmpl): fctx = webutil.filectx(web.repo, req) f = fctx.path() parity = paritygen(web.stripecount) - diffopts = patch.diffopts(web.repo.ui, untrusted=True, section='annotate') + diffopts = patch.difffeatureopts(web.repo.ui, untrusted=True, + section='annotate', whitespace=True) def annotate(**map): last = None