tests/test-alias
author Martin Geisler <mg@daimi.au.dk>
Sun, 05 Apr 2009 00:57:30 +0200
changeset 8006 36a1219a13ab
parent 5523 5db730475d6d
child 8477 a0104303f400
permissions -rwxr-xr-x
i18n-da: bring translations up-to-date This incorporates the word-wrap changes made to help strings, as well as new translations for the updated clone, push and pull help strings.

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