Patchwork [3,of,7,clowncopter] automv: remove test for 'developer mode'

login
register
mail settings
Submitter Martijn Pieters
Date Feb. 15, 2016, 5:24 p.m.
Message ID <491d25e6bc4aa6433e85.1455557097@mjpieters-mbp>
Download mbox | patch
Permalink /patch/13206/
State Accepted
Headers show

Comments

Martijn Pieters - Feb. 15, 2016, 5:24 p.m.
# HG changeset patch
# User Martijn Pieters <mjpieters@fb.com>
# Date 1455555091 0
#      Mon Feb 15 16:51:31 2016 +0000
# Node ID 491d25e6bc4aa6433e85c2d97c459d627cf05192
# Parent  7be1e4769b796d1bae5bc361be81355b9d32ee4c
automv: remove test for 'developer mode'.

The tests no longer use this mode, the test is entirely redundant.

Patch

diff --git a/hgext/automv.py b/hgext/automv.py
--- a/hgext/automv.py
+++ b/hgext/automv.py
@@ -41,9 +41,7 @@ 
             renames = _findrenames(repo, match, added, removed, threshold)
             _markchanges(repo, renames)
 
-    # developer config: automv.testmode
-    if not ui.configbool('automv', 'testmode'):
-        return orig(ui, repo, *pats, **opts)
+    return orig(ui, repo, *pats, **opts)
 
 def _interestingfiles(repo, matcher):
     stat = repo.status(match=matcher)