# HG changeset patch # User Matt Mackall # Date 2015-07-17 18:41:07 # Node ID 399c8aafc9f954ef8997d1131d199235e79a5180 # Parent 577b050caadabd7fa03c3fabbda05732f98f8e7d patchbomb: make sure all users of smtp.verifycert agree on the default diff --git a/hgext/patchbomb.py b/hgext/patchbomb.py --- a/hgext/patchbomb.py +++ b/hgext/patchbomb.py @@ -636,7 +636,7 @@ def patchbomb(ui, repo, *revs, **opts): fp.close() else: if not sendmail: - verifycert = ui.config('smtp', 'verifycert') + verifycert = ui.config('smtp', 'verifycert', 'strict') if opts.get('insecure'): ui.setconfig('smtp', 'verifycert', 'loose', 'patchbomb') try: