Patchwork [01,of,18] configitem: fix default value for 'serverrequirecert'

login
register
mail settings
Submitter Pierre-Yves David
Date July 2, 2017, 2:57 a.m.
Message ID <2d9a880a6faa42f09855.1498964249@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/21896/
State Accepted
Headers show

Comments

Pierre-Yves David - July 2, 2017, 2:57 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1498933014 -7200
#      Sat Jul 01 20:16:54 2017 +0200
# Node ID 2d9a880a6faa42f09855567480b9593399fe496d
# Parent  6d678ab1b10d0fddc73003d21aa3c7ec43194e2e
# EXP-Topic config.register.followup
# Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
#              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r 2d9a880a6faa
configitem: fix default value for 'serverrequirecert'
Yuya Nishihara - July 2, 2017, 2:33 p.m.
On Sun, 02 Jul 2017 04:57:29 +0200, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@octobus.net>
> # Date 1498933014 -7200
> #      Sat Jul 01 20:16:54 2017 +0200
> # Node ID 2d9a880a6faa42f09855567480b9593399fe496d
> # Parent  6d678ab1b10d0fddc73003d21aa3c7ec43194e2e
> # EXP-Topic config.register.followup
> # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
> #              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r 2d9a880a6faa
> configitem: fix default value for 'serverrequirecert'

Queued, thanks.

Patch

diff --git a/mercurial/configitems.py b/mercurial/configitems.py
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -78,7 +78,7 @@  coreconfigitem('devel', 'serverexactprot
     default='',
 )
 coreconfigitem('devel', 'serverrequirecert',
-    default=None,
+    default=False,
 )
 coreconfigitem('devel', 'strip-obsmarkers',
     default=True,