test-dispatch
25 lines
| 247 B
| text/plain
|
TextLexer
/ tests / test-dispatch
Brendan Cully
|
r4563 | #!/bin/sh | ||
# test command parsing and dispatch | ||||
hg init a | ||||
cd a | ||||
echo a > a | ||||
hg ci -Ama -d '0 0' | ||||
Matt Mackall
|
r4621 | echo "# missing arg" | ||
hg cat | ||||
Brendan Cully
|
r4563 | echo '% [defaults]' | ||
hg cat a | ||||
cat > $HGRCPATH <<EOF | ||||
[defaults] | ||||
cat = -v | ||||
EOF | ||||
hg cat a | ||||
Matt Mackall
|
r4621 | |||
Brendan Cully
|
r4654 | echo '% no repo' | ||
cd .. | ||||
hg cat | ||||
exit 0 | ||||
Thomas Arendsen Hein
|
r4659 | |||