Patchwork D12434: path: explicitly declare the `bookmarks.mode` suboptions

login
register
mail settings
Submitter phabricator
Date April 4, 2022, 4:03 p.m.
Message ID <differential-rev-PHID-DREV-uepzcdhozk5brrbf7aqq-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50780/
State New
Headers show

Comments

phabricator - April 4, 2022, 4:03 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This will help documentation and discovery.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D12434

AFFECTED FILES
  mercurial/configitems.py

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/configitems.py b/mercurial/configitems.py
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -1741,6 +1741,12 @@ 
     generic=True,
 )
 coreconfigitem(
+    b'paths',
+    b'.*:bookmarks.mode',
+    default='default',
+    generic=True,
+)
+coreconfigitem(
     b'phases',
     b'checksubrepos',
     default=b'follow',