Patchwork [4,of,4] tests/autodiff.py: explicitly only honor feature diffopts

login
register
mail settings
Submitter Siddharth Agarwal
Date Dec. 29, 2014, 11:57 p.m.
Message ID <500550c4f8085e52fe3a.1419897436@devbig136.prn2.facebook.com>
Download mbox | patch
Permalink /patch/7257/
State Accepted
Commit f78192115229eed447cd9935e2581c88fe32c434
Headers show

Comments

Siddharth Agarwal - Dec. 29, 2014, 11:57 p.m.
# HG changeset patch
# User Siddharth Agarwal <sid0@fb.com>
# Date 1416614546 28800
#      Fri Nov 21 16:02:26 2014 -0800
# Node ID 500550c4f8085e52fe3a87b4c2759c3696ecd5d1
# Parent  249986d8472a676d5a86d7a9f1c370b3ad5b0743
tests/autodiff.py: explicitly only honor feature diffopts

This test extension manages the opts it cares about on its own anyway.
Matt Mackall - Dec. 30, 2014, 9:23 p.m.
On Mon, 2014-12-29 at 15:57 -0800, Siddharth Agarwal wrote:
> # HG changeset patch
> # User Siddharth Agarwal <sid0@fb.com>
> # Date 1416614546 28800
> #      Fri Nov 21 16:02:26 2014 -0800
> # Node ID 500550c4f8085e52fe3a87b4c2759c3696ecd5d1
> # Parent  249986d8472a676d5a86d7a9f1c370b3ad5b0743
> tests/autodiff.py: explicitly only honor feature diffopts

These are queued for default, thanks.

Patch

diff --git a/tests/autodiff.py b/tests/autodiff.py
--- a/tests/autodiff.py
+++ b/tests/autodiff.py
@@ -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