changeset 1517:b3e41b0d50a2

test: enable devel.all-warnings This enables some extra checks in core Mercurial helpful for detecting potential issues.
author Jun Wu <quark@fb.com>
date Mon, 07 Aug 2017 18:11:56 -0700
parents fbc22592f4fa
children 09476d758b59
files tests/test_util.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -298,6 +298,7 @@ def testui(stupid=False, layout='auto', 
     u.setconfig('hgsubversion', 'stupid', bools[stupid])
     u.setconfig('hgsubversion', 'layout', layout)
     u.setconfig('hgsubversion', 'startrev', startrev)
+    u.setconfig('devel', 'all-warnings', True)
     return u
 
 def dispatch(cmd):