Submitter | phabricator |
---|---|
Date | Nov. 25, 2017, 4:30 a.m. |
Message ID | <1d42e72c6d4be3dd41207eb92a9a5a6f@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/25741/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/ui.py b/mercurial/ui.py --- a/mercurial/ui.py +++ b/mercurial/ui.py @@ -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