automv: remove test for 'developer mode'
authorMartijn Pieters <mjpieters@fb.com>
Mon, 15 Feb 2016 16:51:31 +0000
changeset 28148 e8c2a60864fc
parent 28147 26b61576af0e
child 28149 d356d5250ab2
automv: remove test for 'developer mode' The tests no longer use this mode, the test is entirely redundant.
hgext/automv.py
--- a/hgext/automv.py	Mon Feb 15 16:44:30 2016 +0000
+++ b/hgext/automv.py	Mon Feb 15 16:51:31 2016 +0000
@@ -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)