changeset 11914 | e31e5eb8736c |
parent 11913 | 628cdd158ec0 |
child 11915 | d521e72314f9 |
11913:628cdd158ec0 | 11914:e31e5eb8736c |
---|---|
1 #!/bin/sh |
|
2 |
|
3 hg init outer |
|
4 cd outer |
|
5 |
|
6 echo 'sub = http://example.net/libfoo' > .hgsub |
|
7 hg add .hgsub |
|
8 |
|
9 echo '% hg debugsub with no remapping' |
|
10 hg debugsub |
|
11 |
|
12 cat > .hg/hgrc <<EOF |
|
13 [subpaths] |
|
14 http://example.net = ssh://localhost |
|
15 EOF |
|
16 |
|
17 echo '% hg debugsub with remapping' |
|
18 hg debugsub |
|
19 |
|
20 echo '% test bad subpaths pattern' |
|
21 cat > .hg/hgrc <<EOF |
|
22 [subpaths] |
|
23 .* = \1 |
|
24 EOF |
|
25 hg debugsub 2>&1 | "$TESTDIR/filtertmp.py" |
|
26 |
|
27 exit 0 |