##// END OF EJS Templates
revert: Make it clearer when not to use revert
revert: Make it clearer when not to use revert

File last commit:

r10793:16df09a5 stable
r11459:59af1d65 stable
Show More
test-alias
66 lines | 883 B | text/plain | TextLexer
Brendan Cully
Add alias extension
r4801 #!/bin/sh
Alexis S. L. Carvalho
tests/*: avoid losing the original settings from $HGRCPATH
r5523 cat >> $HGRCPATH <<EOF
Brendan Cully
Add alias extension
r4801 [alias]
myinit = init
cleanstatus = status -c
unknown = bargle
ambiguous = s
recursive = recursive
Brendan Cully
Move alias into core
r8655 nodefinition =
Benoit Boissinot
alias: honor the [defaults] section, fix issue1642
r8477 mylog = log
lognull = log -r null
Benoit Boissinot
alias: a0104303f400 did not correctly handle whitespace in the args
r8519 shortlog = log --template '{rev} {node|short} | {date|isodate}\n'
Brendan Cully
Move alias into core
r8655 dln = lognull --debug
Nicolas Dumazet
alias: do not crash when aliased command has no usage help text
r9993 nousage = rollback
Alexander Solovyov
expand paths in aliases
r10793 put = export -r 0 -o "\$PWD/%R.diff"
Benoit Boissinot
alias: honor the [defaults] section, fix issue1642
r8477
[defaults]
mylog = -q
lognull = -q
log = -v
Brendan Cully
Add alias extension
r4801 EOF
echo '% basic'
hg myinit alias
echo '% unknown'
hg unknown
Brodie Rao
help: don't display bogus help messages for invalid aliases
r10021 hg help unknown
Brendan Cully
Add alias extension
r4801
echo '% ambiguous'
hg ambiguous
Brodie Rao
help: don't display bogus help messages for invalid aliases
r10021 hg help ambiguous
Brendan Cully
Add alias extension
r4801
echo '% recursive'
hg recursive
Brodie Rao
help: don't display bogus help messages for invalid aliases
r10021 hg help recursive
Brendan Cully
Add alias extension
r4801
Brendan Cully
Move alias into core
r8655 echo '% no definition'
hg nodef
Brodie Rao
help: don't display bogus help messages for invalid aliases
r10021 hg help nodef
Brendan Cully
Move alias into core
r8655
Brendan Cully
Add alias extension
r4801 cd alias
Nicolas Dumazet
alias: do not crash when aliased command has no usage help text
r9993
echo '% no usage'
hg nousage
Brendan Cully
Add alias extension
r4801 echo foo > foo
hg ci -Amfoo
echo '% with opts'
hg cleanst
Benoit Boissinot
alias: honor the [defaults] section, fix issue1642
r8477
Benoit Boissinot
alias: a0104303f400 did not correctly handle whitespace in the args
r8519 echo '% with opts and whitespace'
hg shortlog
Benoit Boissinot
alias: honor the [defaults] section, fix issue1642
r8477 echo '% interaction with defaults'
hg mylog
hg lognull
Brendan Cully
Move alias into core
r8655
echo '% properly recursive'
hg dln
Alexander Solovyov
expand paths in aliases
r10793
echo '% path expanding'
hg put
cat 0.diff