tests/test-alias
author Brendan Cully <brendan@kublai.com>
Fri, 06 Jul 2007 10:11:48 -0700
changeset 4846 40007fe82be9
parent 4801 6aa1fae4c28a
child 5523 5db730475d6d
permissions -rwxr-xr-x
Last change broke new-style URLs

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