changeset 23690:de5c76aaeaf4

export: explicitly honor all diffopts This is slightly more controversial than diff, but we hope that HGPLAIN=1 covers all the format-breaking ones. A possible alternative here that breaks BC is to honor all opts except the whitespace ones.
author Siddharth Agarwal <sid0@fb.com>
date Tue, 18 Nov 2014 22:21:03 -0800
parents 4fedf2a9b538
children e41bcb019633
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Fri Nov 21 16:16:03 2014 -0800
+++ b/mercurial/commands.py	Tue Nov 18 22:21:03 2014 -0800
@@ -3169,7 +3169,7 @@
         ui.note(_('exporting patch:\n'))
     cmdutil.export(repo, revs, template=opts.get('output'),
                  switch_parent=opts.get('switch_parent'),
-                 opts=patch.diffopts(ui, opts))
+                 opts=patch.diffallopts(ui, opts))
 
 @command('files',
     [('r', 'rev', '', _('search the repository as it is in REV'), _('REV')),