patchbomb: make sure all users of smtp.verifycert agree on the default
authorMatt Mackall <mpm@selenic.com>
Fri, 17 Jul 2015 13:41:07 -0500
changeset 25826 399c8aafc9f9
parent 25825 577b050caada
child 25827 0fdf2c304019
patchbomb: make sure all users of smtp.verifycert agree on the default
hgext/patchbomb.py
--- a/hgext/patchbomb.py	Thu Jun 25 17:38:14 2015 -0500
+++ b/hgext/patchbomb.py	Fri Jul 17 13:41:07 2015 -0500
@@ -636,7 +636,7 @@
                 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: