##// END OF EJS Templates
Add alias extension
Add alias extension

File last commit:

r4801:6aa1fae4 default
r4801:6aa1fae4 default
Show More
test-alias
32 lines | 353 B | text/plain | TextLexer
#!/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