tests/test-alias
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Wed, 02 Jul 2008 12:02:33 +0200
changeset 6796 943f066c0d58
parent 5523 5db730475d6d
child 8477 a0104303f400
permissions -rwxr-xr-x
Backed out changeset 4879468fa28f (incorrect Content-Length on Windows)

#!/bin/sh

cat >> $HGRCPATH <<EOF
[extensions]
alias=

[alias]
myinit = init
cleanstatus = status -c
unknown = bargle
ambiguous = s
recursive = recursive
EOF

echo '% basic'
hg myinit alias

echo '% unknown'
hg unknown

echo '% ambiguous'
hg ambiguous

echo '% recursive'
hg recursive

cd alias
echo foo > foo
hg ci -Amfoo

echo '% with opts'
hg cleanst