view tests/test-alias @ 8370:45ed015b524e

allow toggling when the cursor is on the correct line instead of just the filename text in hg-commit-toggle-file
author Jonathan Kotta <jpkotta@packetdigital.com>
date Wed, 13 May 2009 13:07:43 -0500
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