tests/test-alias
author Thomas Arendsen Hein <thomas@intevation.de>
Tue, 07 Aug 2007 09:42:32 +0200
changeset 5138 9cda2315c7a9
parent 4801 6aa1fae4c28a
child 5523 5db730475d6d
permissions -rwxr-xr-x
convert: Use debugsvnlog instead of git-like debug-svn-log.

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