changeset 29368:dd9175ca81dc stable

help: document that [subpaths] may rewrite relative paths The subpaths substitution logic first attempts to match the absolute repository path, then the relative subrepository path if that failed.
author Mike Miller <mike@mtmxr.com>
date Thu, 16 Jun 2016 09:15:12 -0700
parents f359cdc91e21
children 66c709b5af4b
files mercurial/help/config.txt
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/help/config.txt	Tue Jun 07 08:32:33 2016 +0200
+++ b/mercurial/help/config.txt	Thu Jun 16 09:15:12 2016 -0700
@@ -1485,8 +1485,9 @@
 rewrites ``http://server/foo-hg/`` into ``http://hg.server/foo/``.
 
 Relative subrepository paths are first made absolute, and the
-rewrite rules are then applied on the full (absolute) path. The rules
-are applied in definition order.
+rewrite rules are then applied on the full (absolute) path. If ``pattern``
+doesn't match the full path, an attempt is made to apply it on the
+relative path alone. The rules are applied in definition order.
 
 ``templatealias``
 -----------------