##// END OF EJS Templates
tests: unify test-subrepo-deep-nested-change
tests: unify test-subrepo-deep-nested-change

File last commit:

r11775:a8614c5a default
r11913:628cdd15 default
Show More
test-subrepo-paths
27 lines | 403 B | text/plain | TextLexer
#!/bin/sh
hg init outer
cd outer
echo 'sub = http://example.net/libfoo' > .hgsub
hg add .hgsub
echo '% hg debugsub with no remapping'
hg debugsub
cat > .hg/hgrc <<EOF
[subpaths]
http://example.net = ssh://localhost
EOF
echo '% hg debugsub with remapping'
hg debugsub
echo '% test bad subpaths pattern'
cat > .hg/hgrc <<EOF
[subpaths]
.* = \1
EOF
hg debugsub 2>&1 | "$TESTDIR/filtertmp.py"
exit 0