Mercurial > hg
comparison tests/test-dispatch @ 4621:6fc26982f203
dispatch: fix handling of incorrect number of arguments
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 18 Jun 2007 13:24:34 -0500 |
parents | 8044be585b91 |
children | e0e73ba37983 |
comparison
equal
deleted
inserted
replaced
4620:d97fd22a0ea9 | 4621:6fc26982f203 |
---|---|
4 hg init a | 4 hg init a |
5 cd a | 5 cd a |
6 echo a > a | 6 echo a > a |
7 hg ci -Ama -d '0 0' | 7 hg ci -Ama -d '0 0' |
8 | 8 |
9 echo "# missing arg" | |
10 hg cat | |
11 | |
9 echo '% [defaults]' | 12 echo '% [defaults]' |
10 hg cat a | 13 hg cat a |
11 cat > $HGRCPATH <<EOF | 14 cat > $HGRCPATH <<EOF |
12 [defaults] | 15 [defaults] |
13 cat = -v | 16 cat = -v |
14 EOF | 17 EOF |
15 hg cat a | 18 hg cat a |
19 |