##// END OF EJS Templates
Merge with stable
Merge with stable

File last commit:

r11675:f92f8921 stable
r11681:c5e555e0 merge default
Show More
test-dispatch
33 lines | 364 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
Mads Kiilerich
dispatch: give better error message when cwd doesn't exist (issue2293)...
r11675 dir=`pwd`
Brendan Cully
dispatch: restore a dropped shlex import...
r4563 hg init a
cd a
echo a > a
Martin Geisler
tests: removed redundant "-d '0 0'" from test scripts...
r8167 hg ci -Ama
Brendan Cully
dispatch: restore a dropped shlex import...
r4563
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]
Cédric Duval
tests: test for dispatch on [defaults]: more clearly differing output...
r8637 cat = -r null
Brendan Cully
dispatch: restore a dropped shlex import...
r4563 EOF
hg cat a
Matt Mackall
dispatch: fix handling of incorrect number of arguments
r4621
Mads Kiilerich
dispatch: give better error message when cwd doesn't exist (issue2293)...
r11675 echo '% working directory removed'
rm -rf $dir/a
hg --version
Brendan Cully
Fix dispatch error message when not in a repo
r4654 echo '% no repo'
Mads Kiilerich
dispatch: give better error message when cwd doesn't exist (issue2293)...
r11675 cd $dir
Brendan Cully
Fix dispatch error message when not in a repo
r4654 hg cat
exit 0
Thomas Arendsen Hein
Kill trailing spaces
r4659