Show More
@@ -1712,6 +1712,9 b' behavior for that specific path. Example' | |||||
1712 | my_server = https://example.com/my_path |
|
1712 | my_server = https://example.com/my_path | |
1713 | my_server:pushurl = ssh://example.com/my_path |
|
1713 | my_server:pushurl = ssh://example.com/my_path | |
1714 |
|
1714 | |||
|
1715 | Paths using the `path://otherpath` scheme will inherit the sub-options value from | |||
|
1716 | the path they point to. | |||
|
1717 | ||||
1715 | The following sub-options can be defined: |
|
1718 | The following sub-options can be defined: | |
1716 |
|
1719 | |||
1717 | ``pushurl`` |
|
1720 | ``pushurl`` |
@@ -5,6 +5,7 b' Valid URLs are of the form::' | |||||
5 | http://[user[:pass]@]host[:port]/[path][#revision] |
|
5 | http://[user[:pass]@]host[:port]/[path][#revision] | |
6 | https://[user[:pass]@]host[:port]/[path][#revision] |
|
6 | https://[user[:pass]@]host[:port]/[path][#revision] | |
7 | ssh://[user@]host[:port]/[path][#revision] |
|
7 | ssh://[user@]host[:port]/[path][#revision] | |
|
8 | path://pathname | |||
8 |
|
9 | |||
9 | Paths in the local filesystem can either point to Mercurial |
|
10 | Paths in the local filesystem can either point to Mercurial | |
10 | repositories or to bundle files (as created by :hg:`bundle` or |
|
11 | repositories or to bundle files (as created by :hg:`bundle` or | |
@@ -64,3 +65,12 b' default:' | |||||
64 | default-push: |
|
65 | default-push: | |
65 | The push command will look for a path named 'default-push', and |
|
66 | The push command will look for a path named 'default-push', and | |
66 | prefer it over 'default' if both are defined. |
|
67 | prefer it over 'default' if both are defined. | |
|
68 | ||||
|
69 | These alias can also be use in the `path://` scheme:: | |||
|
70 | ||||
|
71 | [paths] | |||
|
72 | alias1 = URL1 | |||
|
73 | alias2 = path://alias1 | |||
|
74 | ... | |||
|
75 | ||||
|
76 | check :hg:`help config.paths` for details about the behavior of such "sub-path". |
@@ -1842,6 +1842,9 b' Test section lookup' | |||||
1842 | my_server = https://example.com/my_path |
|
1842 | my_server = https://example.com/my_path | |
1843 | my_server:pushurl = ssh://example.com/my_path |
|
1843 | my_server:pushurl = ssh://example.com/my_path | |
1844 |
|
1844 | |||
|
1845 | Paths using the 'path://otherpath' scheme will inherit the sub-options | |||
|
1846 | value from the path they point to. | |||
|
1847 | ||||
1845 | The following sub-options can be defined: |
|
1848 | The following sub-options can be defined: | |
1846 |
|
1849 | |||
1847 | "pushurl" |
|
1850 | "pushurl" |
General Comments 0
You need to be logged in to leave comments.
Login now