tests/test-alias
author Patrick Mezard <pmezard@gmail.com>
Sun, 30 Nov 2008 22:01:26 +0100
changeset 7446 2d2e0be762be
parent 5523 5db730475d6d
child 8477 a0104303f400
permissions -rwxr-xr-x
convert: work around svn.ra.get_files() not releasing input buffer

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