changeset 35127 | fa2395db68c6 |
parent 35067 | 929858db4d22 |
child 35186 | aef2b98d9352 |
--- a/mercurial/ui.py Sat Oct 28 19:03:23 2017 +0530 +++ b/mercurial/ui.py Wed Nov 22 19:24:22 2017 -0800 @@ -1603,7 +1603,7 @@ stack. """ if not self.configbool('devel', 'all-warnings'): - if config is not None and not self.configbool('devel', config): + if config is None or not self.configbool('devel', config): return msg = 'devel-warn: ' + msg stacklevel += 1 # get in develwarn