changeset 23691:e41bcb019633

cmdutil.changeset_printer: explicitly honor all diffopts This is used in hg log -p so the output is expected to be the same as that of hg diff.
author Siddharth Agarwal <sid0@fb.com>
date Fri, 21 Nov 2014 16:01:55 -0800
parents de5c76aaeaf4
children f78192115229
files mercurial/cmdutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Tue Nov 18 22:21:03 2014 -0800
+++ b/mercurial/cmdutil.py	Fri Nov 21 16:01:55 2014 -0800
@@ -991,7 +991,7 @@
         if matchfn:
             stat = self.diffopts.get('stat')
             diff = self.diffopts.get('patch')
-            diffopts = patch.diffopts(self.ui, self.diffopts)
+            diffopts = patch.diffallopts(self.ui, self.diffopts)
             prev = self.repo.changelog.parents(node)[0]
             if stat:
                 diffordiffstat(self.ui, self.repo, diffopts, prev, node,