tests/test-alias
author Tobias Bell <tobias.bell@gmail.com>
Thu, 26 Mar 2009 08:07:28 +0100
changeset 7893 606723f4a327
parent 5523 5db730475d6d
child 8477 a0104303f400
permissions -rwxr-xr-x
enhance Makefile for language translators To update a po-file just do 'make i18n/xx.po'. No other po-file will be touched.

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