Patchwork [11,of,23] configitems: register the 'web.deny_read' config

login
register
mail settings
Submitter Boris Feld
Date Sept. 16, 2017, 6:28 p.m.
Message ID <856c2a20b761aa54386a.1505586498@FB>
Download mbox | patch
Permalink /patch/23963/
State Accepted
Headers show

Comments

Boris Feld - Sept. 16, 2017, 6:28 p.m.
# HG changeset patch
# User Boris Feld <boris.feld@octobus.net>
# Date 1498787141 -7200
#      ven. juin 30 03:45:41 2017 +0200
# Node ID 856c2a20b761aa54386a5af77b72e0555e730c44
# Parent  d456cf6065d809c15e1bc2e51f9f4c05ad733918
# EXP-Topic config.register.web
configitems: register the 'web.deny_read' config

Patch

diff -r d456cf6065d8 -r 856c2a20b761 mercurial/configitems.py
--- a/mercurial/configitems.py	ven. juin 30 03:45:40 2017 +0200
+++ b/mercurial/configitems.py	ven. juin 30 03:45:41 2017 +0200
@@ -609,6 +609,9 @@ 
 coreconfigitem('web', 'csp',
     default=None,
 )
+coreconfigitem('web', 'deny_read',
+    default=list,
+)
 coreconfigitem('worker', 'backgroundclose',
     default=dynamicdefault,
 )