Patchwork D10371: help: point to `hg help urls` in `hg help config.paths`

login
register
mail settings
Submitter phabricator
Date April 12, 2021, 3:30 p.m.
Message ID <differential-rev-PHID-DREV-2fe5jwxlncf7dvwag7yi-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48688/
State Superseded
Headers show

Comments

phabricator - April 12, 2021, 3:30 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This seems useful to point at what people can put as value for these config.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  mercurial/helptext/config.txt
  tests/test-help.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-help.t b/tests/test-help.t
--- a/tests/test-help.t
+++ b/tests/test-help.t
@@ -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:
diff --git a/mercurial/helptext/config.txt b/mercurial/helptext/config.txt
--- a/mercurial/helptext/config.txt
+++ b/mercurial/helptext/config.txt
@@ -1701,7 +1701,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::