view tests/test-alias @ 4959:8933b8ea871a

Use format string for lockname again (was changed by 3e25a6eb5c9a)
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 21 Jul 2007 10:39:42 +0200
parents 6aa1fae4c28a
children 5db730475d6d
line wrap: on
line source

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