Mercurial > public > mercurial-scm > hg
diff tests/test-dispatch @ 4563: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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-dispatch Tue Jun 12 13:21:42 2007 -0700 @@ -0,0 +1,15 @@ +#!/bin/sh +# test command parsing and dispatch + +hg init a +cd a +echo a > a +hg ci -Ama -d '0 0' + +echo '% [defaults]' +hg cat a +cat > $HGRCPATH <<EOF +[defaults] +cat = -v +EOF +hg cat a