Mercurial > hg
changeset 23689:4fedf2a9b538
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.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Fri, 21 Nov 2014 16:16:03 -0800 |
parents | 20932983d520 |
children | de5c76aaeaf4 |
files | mercurial/hgweb/webcommands.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py Tue Dec 23 18:29:03 2014 -0800 +++ b/mercurial/hgweb/webcommands.py Fri Nov 21 16:16:03 2014 -0800 @@ -753,7 +753,8 @@ 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