changeset 47274:0470a44b9e74

multi-urls: document the feature We have a feature lets make it visible to people. Differential Revision: https://phab.mercurial-scm.org/D10453
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 16 Apr 2021 00:19:04 +0200
parents 834f4e9d1af2
children ba673c821b9d
files mercurial/helptext/config.txt tests/test-help.t
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/helptext/config.txt	Fri Apr 16 00:16:47 2021 +0200
+++ b/mercurial/helptext/config.txt	Fri Apr 16 00:19:04 2021 +0200
@@ -1718,6 +1718,12 @@
 
 The following sub-options can be defined:
 
+``multi-urls``
+   A boolean option. When enabled the value of the `[paths]` entry will be
+   parsed as a list and the alias will resolve to multiple destination. If some
+   of the list entry use the `path://` syntax, the suboption will be inherited
+   individually.
+
 ``pushurl``
    The URL to use for push operations. If not defined, the location
    defined by the path's main entry is used.
--- a/tests/test-help.t	Fri Apr 16 00:16:47 2021 +0200
+++ b/tests/test-help.t	Fri Apr 16 00:19:04 2021 +0200
@@ -1872,6 +1872,12 @@
   
       The following sub-options can be defined:
   
+      "multi-urls"
+         A boolean option. When enabled the value of the '[paths]' entry will be
+         parsed as a list and the alias will resolve to multiple destination. If
+         some of the list entry use the 'path://' syntax, the suboption will be
+         inherited individually.
+  
       "pushurl"
          The URL to use for push operations. If not defined, the location
          defined by the path's main entry is used.