cmdutil.changeset_printer: explicitly honor all diffopts
authorSiddharth Agarwal <sid0@fb.com>
Fri, 21 Nov 2014 16:01:55 -0800
changeset 23691 e41bcb019633
parent 23690 de5c76aaeaf4
child 23692 f78192115229
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.
mercurial/cmdutil.py
--- 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,