Patchwork [05,of,23] configitems: register the 'web.allow_read' config

login
register
mail settings
Submitter Boris Feld
Date Sept. 16, 2017, 6:28 p.m.
Message ID <63c684c48014b6b717eb.1505586492@FB>
Download mbox | patch
Permalink /patch/23958/
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 1498787134 -7200
#      ven. juin 30 03:45:34 2017 +0200
# Node ID 63c684c48014b6b717eb0de793c715d5f3c9237a
# Parent  ae88e0abb2c00360bcfbf39ade904f4b33809774
# EXP-Topic config.register.web
configitems: register the 'web.allow_read' config

Patch

diff -r ae88e0abb2c0 -r 63c684c48014 mercurial/configitems.py
--- a/mercurial/configitems.py	ven. juin 30 03:45:33 2017 +0200
+++ b/mercurial/configitems.py	ven. juin 30 03:45:34 2017 +0200
@@ -591,6 +591,9 @@ 
 coreconfigitem('web', 'allow_archive',
     default=list,
 )
+coreconfigitem('web', 'allow_read',
+    default=list,
+)
 coreconfigitem('worker', 'backgroundclose',
     default=dynamicdefault,
 )