tests/test-alias
author Bryan O'Sullivan <bos@serpentine.com>
Sat, 29 Sep 2007 21:10:54 -0700
changeset 5352 cc34be74eeec
parent 4801 6aa1fae4c28a
child 5523 5db730475d6d
permissions -rwxr-xr-x
Merge with crew-stable.

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