Patchwork [04,of,23] configitems: register the 'web.allow_archive' config

login
register
mail settings
Submitter Boris Feld
Date Sept. 16, 2017, 6:28 p.m.
Message ID <ae88e0abb2c00360bcfb.1505586491@FB>
Download mbox | patch
Permalink /patch/23956/
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 1498787133 -7200
#      ven. juin 30 03:45:33 2017 +0200
# Node ID ae88e0abb2c00360bcfbf39ade904f4b33809774
# Parent  fcbbdb9dffcf7f029f208f27e3470cd7877bc24e
# EXP-Topic config.register.web
configitems: register the 'web.allow_archive' config

Patch

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