Patchwork [05,of,18] configitems: register the 'bookmarks.pushing' config

login
register
mail settings
Submitter Pierre-Yves David
Date July 2, 2017, 2:57 a.m.
Message ID <72b37b0de882ee2f1e28.1498964253@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/21893/
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 1498786108 -7200
#      Fri Jun 30 03:28:28 2017 +0200
# Node ID 72b37b0de882ee2f1e28ad388c8c04971f478b49
# Parent  1ddaa559d753c13e3606403e4093ed37d08b12e2
# 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 72b37b0de882
configitems: register the 'bookmarks.pushing' config

Patch

diff --git a/mercurial/configitems.py b/mercurial/configitems.py
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -59,6 +59,10 @@  coreconfigitem = getitemregister(coreite
 coreconfigitem('auth', 'cookiefile',
     default=None,
 )
+# bookmarks.pushing: internal hack for discovery
+coreconfigitem('bookmarks', 'pushing',
+    default=list,
+)
 coreconfigitem('color', 'mode',
     default='auto',
 )