tests/test-alias
author Matt Mackall <mpm@selenic.com>
Wed, 30 Jan 2008 17:30:34 -0600
changeset 5935 0973501e5f4a
parent 5523 5db730475d6d
child 8477 a0104303f400
permissions -rwxr-xr-x
win32: remove excessive flushing Our Windows file code was flushing buffers from the operating system to disk, rather than from the application to the operating system.

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