view tests/test-subrepo-paths @ 11819:1c00577b0298

qguard: label patch names by status when listing guards
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Thu, 05 Aug 2010 12:25:53 +0200
parents a8614c5a5e9a
children
line wrap: on
line source

#!/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