Patchwork [06,of,23] configitems: register the 'web.baseurl' config

login
register
mail settings
Submitter Boris Feld
Date Sept. 16, 2017, 6:28 p.m.
Message ID <676e9f05ee067e05ba83.1505586493@FB>
Download mbox | patch
Permalink /patch/23957/
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 1498787135 -7200
#      ven. juin 30 03:45:35 2017 +0200
# Node ID 676e9f05ee067e05ba8327766a57cc95a05a9566
# Parent  63c684c48014b6b717eb0de793c715d5f3c9237a
# EXP-Topic config.register.web
configitems: register the 'web.baseurl' config

Patch

diff -r 63c684c48014 -r 676e9f05ee06 mercurial/configitems.py
--- a/mercurial/configitems.py	ven. juin 30 03:45:34 2017 +0200
+++ b/mercurial/configitems.py	ven. juin 30 03:45:35 2017 +0200
@@ -594,6 +594,9 @@ 
 coreconfigitem('web', 'allow_read',
     default=list,
 )
+coreconfigitem('web', 'baseurl',
+    default=None,
+)
 coreconfigitem('worker', 'backgroundclose',
     default=dynamicdefault,
 )