Show More
@@ -1,33 +1,33 b'' | |||
|
1 | 1 | $ hg init outer |
|
2 | 2 | $ cd outer |
|
3 | 3 | |
|
4 | 4 | hg debugsub with no remapping |
|
5 | 5 | |
|
6 | 6 | $ echo 'sub = http://example.net/libfoo' > .hgsub |
|
7 | 7 | $ hg add .hgsub |
|
8 | 8 | |
|
9 | 9 | $ hg debugsub |
|
10 | 10 | path sub |
|
11 | 11 | source http://example.net/libfoo |
|
12 | 12 | revision |
|
13 | 13 | |
|
14 | 14 | hg debugsub with remapping |
|
15 | 15 | |
|
16 | 16 | $ echo '[subpaths]' > .hg/hgrc |
|
17 |
$ |
|
|
17 | $ printf 'http://example.net/lib(.*) = C:\\libs\\\\1-lib\\\n' >> .hg/hgrc | |
|
18 | 18 | |
|
19 | 19 | $ hg debugsub |
|
20 | 20 | path sub |
|
21 | 21 | source C:\libs\foo-lib\ |
|
22 | 22 |
|
|
23 | 23 | |
|
24 | 24 | test bad subpaths pattern |
|
25 | 25 | |
|
26 | 26 | $ cat > .hg/hgrc <<EOF |
|
27 | 27 | > [subpaths] |
|
28 | 28 | > .* = \1 |
|
29 | 29 | > EOF |
|
30 | 30 |
$ |
|
31 | 31 |
abort: |
|
32 | 32 | |
|
33 | 33 |
$ |
General Comments 0
You need to be logged in to leave comments.
Login now