changeset 23456:e1086c7dd3c4

diff: explicitly honor all diffopts 'hg diff' should naturally honor all diffopts.
author Siddharth Agarwal <sid0@fb.com>
date Tue, 18 Nov 2014 22:18:05 -0800
parents 265034f4e27c
children fc76f55705eb
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Nov 18 22:16:46 2014 -0800
+++ b/mercurial/commands.py	Tue Nov 18 22:18:05 2014 -0800
@@ -3073,7 +3073,7 @@
     if reverse:
         node1, node2 = node2, node1
 
-    diffopts = patch.diffopts(ui, opts)
+    diffopts = patch.diffallopts(ui, opts)
     m = scmutil.match(repo[node2], pats, opts)
     cmdutil.diffordiffstat(ui, repo, diffopts, node1, node2, m, stat=stat,
                            listsubrepos=opts.get('subrepos'))