mercurial/hgweb/webcommands.py
changeset 23689 4fedf2a9b538
parent 23232 a0ccb66f344d
child 23740 9e1f4c65f5f5
--- 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