tests/test-alias
author Steve Borho <steve@borho.org>
Mon, 04 Feb 2008 19:38:34 -0600
changeset 6025 f2335246e5c7
parent 5523 5db730475d6d
child 8477 a0104303f400
permissions -rwxr-xr-x
filemerge: wrap quotes around tool path

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