From c038fe19095d96a697a732e8942a31bfb528d628 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Thu, 4 Oct 2012 14:16:29 +0400 Subject: [PATCH] Mercurial subpaths rules updated. --- .hgrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.hgrc b/.hgrc index 314df98..42b3f30 100644 --- a/.hgrc +++ b/.hgrc @@ -85,5 +85,9 @@ assume-tty = False s = status -mard -S [subpaths] -http[s]?://(.*)/(.*)/../(.*) = https://\1/\2/\3 -http[s]?://(.*)/(.*)/(.*) = https://\1/\2/../\3 +# step 2 +([^/@]+)/@@/([^/@]+)$ = \1/@@@/\2 +# step 1 +([^/@]+)/([^/@]+)$ = \1/@@/\2 +# step 2 +([^/@]+)/@@@/([^/@]+)$ = \2