tests/test-alias
author Matt Mackall <mpm@selenic.com>
Fri, 21 Mar 2008 15:44:11 -0500
changeset 6340 949e607ac544
parent 5523 5db730475d6d
child 8477 a0104303f400
permissions -rwxr-xr-x
mq: warn when applying a patch to somewhere other than tip

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