Mercurial > hg
view tests/test-dispatch @ 8822:1027da7d2fb9
doc: fix regexp for determining the man page section
Preceding a .* pattern with an other dot serves little purpose,
better anchor the regexp to the start of the file name.
author | Cédric Duval <cedricduval@free.fr> |
---|---|
date | Wed, 10 Jun 2009 19:59:44 +0200 |
parents | c88c8d59979f |
children | f92f8921a5cc |
line wrap: on
line source
#!/bin/sh # test command parsing and dispatch "$TESTDIR/hghave" no-outer-repo || exit 80 hg init a cd a echo a > a hg ci -Ama echo "# missing arg" hg cat echo '% [defaults]' hg cat a cat >> $HGRCPATH <<EOF [defaults] cat = -r null EOF hg cat a echo '% no repo' cd .. hg cat exit 0