tests/autodiff.py: explicitly only honor feature diffopts
authorSiddharth Agarwal <sid0@fb.com>
Fri, 21 Nov 2014 16:02:26 -0800
changeset 23692 f78192115229
parent 23691 e41bcb019633
child 23693 9a02f7517939
tests/autodiff.py: explicitly only honor feature diffopts This test extension manages the opts it cares about on its own anyway.
tests/autodiff.py
--- a/tests/autodiff.py	Fri Nov 21 16:01:55 2014 -0800
+++ b/tests/autodiff.py	Fri Nov 21 16:02:26 2014 -0800
@@ -10,7 +10,7 @@
     [('', 'git', '', 'git upgrade mode (yes/no/auto/warn/abort)')],
     '[OPTION]... [FILE]...')
 def autodiff(ui, repo, *pats, **opts):
-    diffopts = patch.diffopts(ui, opts)
+    diffopts = patch.difffeatureopts(ui, opts)
     git = opts.get('git', 'no')
     brokenfiles = set()
     losedatafn = None