##// END OF EJS Templates
merge with mpm
merge with mpm

File last commit:

r7429:dbc40381 default
r7433:c4ce828e merge default
Show More
test-dispatch
27 lines | 292 B | text/plain | TextLexer
Brendan Cully
dispatch: restore a dropped shlex import...
r4563 #!/bin/sh
# test command parsing and dispatch
Mads Kiilerich
tests: Skip tests if they will fail because of outer repo...
r7429 "$TESTDIR/hghave" no-outer-repo || exit 80
Brendan Cully
dispatch: restore a dropped shlex import...
r4563 hg init a
cd a
echo a > a
hg ci -Ama -d '0 0'
Matt Mackall
dispatch: fix handling of incorrect number of arguments
r4621 echo "# missing arg"
hg cat
Brendan Cully
dispatch: restore a dropped shlex import...
r4563 echo '% [defaults]'
hg cat a
Alexis S. L. Carvalho
tests/*: avoid losing the original settings from $HGRCPATH
r5523 cat >> $HGRCPATH <<EOF
Brendan Cully
dispatch: restore a dropped shlex import...
r4563 [defaults]
cat = -v
EOF
hg cat a
Matt Mackall
dispatch: fix handling of incorrect number of arguments
r4621
Brendan Cully
Fix dispatch error message when not in a repo
r4654 echo '% no repo'
cd ..
hg cat
exit 0
Thomas Arendsen Hein
Kill trailing spaces
r4659