##// END OF EJS Templates
tests: unify test-abort-checkin
tests: unify test-abort-checkin

File last commit:

r11772:423ece53 stable
r11848:f54ff493 default
Show More
test-dispatch
33 lines | 422 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'
Mads Kiilerich
test-dispatch: Make test of removed working directory work on AIX (issue2315)...
r11772 sh -c "cd $dir && rm -rf a"
hg --version 2>&1 | sed -e 's,\(abort:.*:\).*$,\1 ...,g'
Mads Kiilerich
dispatch: give better error message when cwd doesn't exist (issue2293)...
r11675
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