changeset 46904:ede52e19c752

help: point to `hg help urls` in `hg help config.paths` This seems useful to point at what people can put as value for these config. Differential Revision: https://phab.mercurial-scm.org/D10371
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 10 Apr 2021 15:28:10 +0200
parents 856820b497fc
children 95a5ed7db9ca
files mercurial/helptext/config.txt tests/test-help.t
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/helptext/config.txt	Mon Apr 12 22:42:47 2021 -0400
+++ b/mercurial/helptext/config.txt	Sat Apr 10 15:28:10 2021 +0200
@@ -1702,7 +1702,8 @@
 
 These symbolic names can be used from the command line. To pull
 from ``my_server``: :hg:`pull my_server`. To push to ``local_path``:
-:hg:`push local_path`.
+:hg:`push local_path`. You can check :hg:`help urls` for details about
+valid URLs.
 
 Options containing colons (``:``) denote sub-options that can influence
 behavior for that specific path. Example::
--- a/tests/test-help.t	Mon Apr 12 22:42:47 2021 -0400
+++ b/tests/test-help.t	Sat Apr 10 15:28:10 2021 +0200
@@ -1833,7 +1833,7 @@
   
       These symbolic names can be used from the command line. To pull from
       "my_server": 'hg pull my_server'. To push to "local_path": 'hg push
-      local_path'.
+      local_path'. You can check 'hg help urls' for details about valid URLs.
   
       Options containing colons (":") denote sub-options that can influence
       behavior for that specific path. Example: