[PATCH 1 of 9 V3] mail: unsupport smtp.verifycert (BC)

Yuya Nishihara yuya at tcha.org
Fri Jun 3 10:33:26 EDT 2016


On Wed, 01 Jun 2016 20:16:15 -0700, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1464747586 25200
> #      Tue May 31 19:19:46 2016 -0700
> # Node ID a1cda46a74533090f22bd596b206ddf9090d6bd2
> # Parent  48b38b16a8f83ea98ebdf0b370f59fd90dc17935
> mail: unsupport smtp.verifycert (BC)

> -    verifycert = ui.config('smtp', 'verifycert', 'strict')
> -    if verifycert not in ['strict', 'loose']:
> -        if util.parsebool(verifycert) is not False:
> -            raise error.Abort(_('invalid smtp.verifycert configuration: %s')
> -                             % (verifycert))
> -        verifycert = False

patchbomb.py has a hack to adjust verifycert option. Can you send revised
version of this and the last patch? I'll take the other patches, thanks.

--- tests/test-check-config.t
+++ tests/test-check-config.t.err
@@ -7,3 +7,4 @@
 
   $ hg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' |
   >   python contrib/check-config.py
+  undocumented: smtp.verifycert (str) ['strict']


More information about the Mercurial-devel mailing list