changeset 25826:399c8aafc9f9

patchbomb: make sure all users of smtp.verifycert agree on the default
author Matt Mackall <mpm@selenic.com>
date Fri, 17 Jul 2015 13:41:07 -0500
parents 577b050caada
children 0fdf2c304019
files hgext/patchbomb.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: