diff -r b7a75b9a3386 -r 0407a51b9d8c mercurial/dispatch.py --- a/mercurial/dispatch.py Tue Jul 11 08:52:55 2017 -0700 +++ b/mercurial/dispatch.py Fri Jul 14 14:22:40 2017 -0700 @@ -916,7 +916,7 @@ # version number and try updating. ct = util.versiontuple(n=2) worst = None, ct, '' - if ui.config('ui', 'supportcontact', None) is None: + if ui.config('ui', 'supportcontact') is None: for name, mod in extensions.extensions(): testedwith = getattr(mod, 'testedwith', '') if pycompat.ispy3 and isinstance(testedwith, str): @@ -950,7 +950,7 @@ '** If that fixes the bug please report it to %s\n') % (name, testedwith, name, report)) else: - bugtracker = ui.config('ui', 'supportcontact', None) + bugtracker = ui.config('ui', 'supportcontact') if bugtracker is None: bugtracker = _("https://mercurial-scm.org/wiki/BugTracker") warning = (_("** unknown exception encountered, "