--- a/mercurial/cmdutil.py Mon Feb 04 14:43:26 2019 -0800
+++ b/mercurial/cmdutil.py Mon Jan 28 18:05:05 2019 -0800
@@ -282,7 +282,7 @@
status = repo.status(match=match)
if not force:
repo.checkcommitpatterns(wctx, vdirs, match, status, fail)
- diffopts = patch.difffeatureopts(ui, opts=opts, whitespace=True)
+ diffopts = patch.difffeatureopts(ui, opts=opts)
diffopts.nodates = True
diffopts.git = True
diffopts.showfunc = True
@@ -3126,7 +3126,7 @@
# Prompt the user for changes to revert
torevert = [f for f in actions['revert'][0] if f not in excluded_files]
m = scmutil.matchfiles(repo, torevert)
- diffopts = patch.difffeatureopts(repo.ui, whitespace=True)
+ diffopts = patch.difffeatureopts(repo.ui)
diffopts.nodates = True
diffopts.git = True
operation = 'discard'