view tests/test-alias @ 4812:a5209b0487e0

convert: export revmap to source. Sources may be able to use it to optimise their own log fetching
author Brendan Cully <brendan@kublai.com>
date Thu, 05 Jul 2007 12:24:26 -0700
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