Patchwork D12435: path: explicitly declare the `multi-urls` suboptions

login
register
mail settings
Submitter phabricator
Date April 4, 2022, 4:03 p.m.
Message ID <differential-rev-PHID-DREV-7zgtogd2vlrh3x6aoovj-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50781/
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/D12435

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
@@ -1747,6 +1747,12 @@ 
     generic=True,
 )
 coreconfigitem(
+    b'paths',
+    b'.*:multi-urls',
+    default=False,
+    generic=True,
+)
+coreconfigitem(
     b'phases',
     b'checksubrepos',
     default=b'follow',