comparison tests/test-dispatch @ 4561:8044be585b91

dispatch: restore a dropped shlex import Add test-dispatch as a place for command parsing and dispatch tests.
author Brendan Cully <brendan@kublai.com>
date Tue, 12 Jun 2007 13:21:42 -0700
parents
children 6fc26982f203
comparison
equal deleted inserted replaced
4560:80d35fba99a8 4561:8044be585b91
1 #!/bin/sh
2 # test command parsing and dispatch
3
4 hg init a
5 cd a
6 echo a > a
7 hg ci -Ama -d '0 0'
8
9 echo '% [defaults]'
10 hg cat a
11 cat > $HGRCPATH <<EOF
12 [defaults]
13 cat = -v
14 EOF
15 hg cat a