##// END OF EJS Templates
hgrc: document [subpaths] section
Patrick Mezard -
r12827:042bc18d stable
parent child Browse files
Show More
@@ -797,6 +797,23 b' Controls generic server settings.'
797 checking that all new file revisions specified in manifests are
797 checking that all new file revisions specified in manifests are
798 present. Default is False.
798 present. Default is False.
799
799
800 ``subpaths``
801 """"""""""""
802 Defines subrepositories source locations rewriting rules of the form::
803
804 <pattern> = <replacement>
805
806 Where ``pattern`` is a regular expression matching the source and
807 ``replacement`` is the replacement string used to rewrite it. Groups
808 can be matched in ``pattern`` and referenced in ``replacements``. For
809 instance::
810
811 http://server/(.*)-hg/ = http://hg.server/\1/
812
813 rewrites ``http://server/foo-hg/`` into ``http://hg.server/foo/``.
814
815 All patterns are applied in definition order.
816
800 ``trusted``
817 ``trusted``
801 """""""""""
818 """""""""""
802
819
General Comments 0
You need to be logged in to leave comments. Login now