comparison mercurial/help/config.txt @ 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 d813132ea361
children fd93b15b5c30
comparison
equal deleted inserted replaced
29329:f359cdc91e21 29368:dd9175ca81dc
1483 http://server/(.*)-hg/ = http://hg.server/\1/ 1483 http://server/(.*)-hg/ = http://hg.server/\1/
1484 1484
1485 rewrites ``http://server/foo-hg/`` into ``http://hg.server/foo/``. 1485 rewrites ``http://server/foo-hg/`` into ``http://hg.server/foo/``.
1486 1486
1487 Relative subrepository paths are first made absolute, and the 1487 Relative subrepository paths are first made absolute, and the
1488 rewrite rules are then applied on the full (absolute) path. The rules 1488 rewrite rules are then applied on the full (absolute) path. If ``pattern``
1489 are applied in definition order. 1489 doesn't match the full path, an attempt is made to apply it on the
1490 relative path alone. The rules are applied in definition order.
1490 1491
1491 ``templatealias`` 1492 ``templatealias``
1492 ----------------- 1493 -----------------
1493 1494
1494 Alias definitions for templates. See :hg:`help templates` for details. 1495 Alias definitions for templates. See :hg:`help templates` for details.