##// END OF EJS Templates
help/config: expand [subpaths] help...
Martin Geisler -
r16549:517b2560 stable
parent child Browse files
Show More
@@ -1052,20 +1052,24 b' Configuration for extensions that need t'
1052 1052 ``subpaths``
1053 1053 """"""""""""
1054 1054
1055 Defines subrepositories source locations rewriting rules of the form::
1055 Subrepository source URLs can go stale if a remote server changes name
1056 or becomes temporarily unavailable. This section lets you define
1057 rewrite rules of the form::
1056 1058
1057 1059 <pattern> = <replacement>
1058 1060
1059 Where ``pattern`` is a regular expression matching the source and
1060 ``replacement`` is the replacement string used to rewrite it. Groups
1061 can be matched in ``pattern`` and referenced in ``replacements``. For
1062 instance::
1061 where ``pattern`` is a regular expression matching a subrepository
1062 source URL and ``replacement`` is the replacement string used to
1063 rewrite it. Groups can be matched in ``pattern`` and referenced in
1064 ``replacements``. For instance::
1063 1065
1064 1066 http://server/(.*)-hg/ = http://hg.server/\1/
1065 1067
1066 1068 rewrites ``http://server/foo-hg/`` into ``http://hg.server/foo/``.
1067 1069
1068 All patterns are applied in definition order.
1070 Relative subrepository paths are first made absolute, and the the
1071 rewrite rules are then applied on the full (absolute) path. The rules
1072 are applied in definition order.
1069 1073
1070 1074 ``trusted``
1071 1075 """""""""""
General Comments 0
You need to be logged in to leave comments. Login now