##// END OF EJS Templates
issue1577: fix broken test by assuming less about CVS output....
issue1577: fix broken test by assuming less about CVS output. Specifically, output of "cvs ci" varies unpredictably across CVS versions, so any test that includes the output of "cvs ci" is doomed to fail some of the time. This fixes that by discarding the output of "cvs ci".

File last commit:

r7429:dbc40381 default
r8081:6c3b8132 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