Mercurial > hg
comparison tests/test-subrepo-paths.t @ 11961:f3075ffa6b30
subrepos: handle backslashes in subpaths
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Thu, 19 Aug 2010 13:25:46 +0200 |
parents | be33381882ad |
children | 79bd860b8eb7 |
comparison
equal
deleted
inserted
replaced
11959:be33381882ad | 11961:f3075ffa6b30 |
---|---|
11 source http://example.net/libfoo | 11 source http://example.net/libfoo |
12 revision | 12 revision |
13 | 13 |
14 hg debugsub with remapping | 14 hg debugsub with remapping |
15 | 15 |
16 $ cat > .hg/hgrc <<EOF | 16 $ echo '[subpaths]' > .hg/hgrc |
17 > [subpaths] | 17 $ echo 'http://example.net/lib(.*) = C:\libs\\1-lib\' >> .hg/hgrc |
18 > http://example.net = ssh://localhost | |
19 > EOF | |
20 | 18 |
21 $ hg debugsub | 19 $ hg debugsub |
22 path sub | 20 path sub |
23 source ssh://localhost/libfoo | 21 source C:\libs\foo-lib\ |
24 revision | 22 revision |
25 | 23 |
26 test bad subpaths pattern | 24 test bad subpaths pattern |
27 | 25 |
28 $ cat > .hg/hgrc <<EOF | 26 $ cat > .hg/hgrc <<EOF |