tests/test-alias
author Brendan Cully <brendan@kublai.com>
Wed, 04 Jul 2007 13:38:49 -0700
changeset 4801 6aa1fae4c28a
child 5523 5db730475d6d
permissions -rwxr-xr-x
Add alias extension

#!/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