Patchwork [04,of,18] configitems: register the 'auth.cookiefile' config

login
register
mail settings
Submitter Pierre-Yves David
Date July 2, 2017, 2:57 a.m.
Message ID <1ddaa559d753c13e3606.1498964252@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/21895/
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 1498786038 -7200
#      Fri Jun 30 03:27:18 2017 +0200
# Node ID 1ddaa559d753c13e3606403e4093ed37d08b12e2
# Parent  c6dc2fa9b34d85873c2e00a996f142c9f17e74a8
# EXP-Topic config.register.core
# Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
#              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r 1ddaa559d753
configitems: register the 'auth.cookiefile' config

Patch

diff --git a/mercurial/configitems.py b/mercurial/configitems.py
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -56,6 +56,9 @@  def getitemregister(configtable):
 
 coreconfigitem = getitemregister(coreitems)
 
+coreconfigitem('auth', 'cookiefile',
+    default=None,
+)
 coreconfigitem('color', 'mode',
     default='auto',
 )