view tests/test-alias @ 5624:3da5ff2a9b11

win32: it is no longer necessary to bundle patch.exe Mercurial can use it's built-in mpatch library
author Steve Borho <steve@borho.org>
date Fri, 07 Dec 2007 18:18:11 -0600
parents 5db730475d6d
children a0104303f400
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