##// END OF EJS Templates
run-tests: install data files correctly...
run-tests: install data files correctly In 68964567e406 we began installing some data files in PREFIX/share. When preparing to run the tests, run-tests.py uses --home="" in order to work around home being set in a ~/.pydistutils.cfg file. This somehow overwrites the --prefix option. The result was that the share/ directory was installed in the top of the Mercurial source tree.

File last commit:

r9993:8bce1e0d stable
r10020:d7c23f4a default
Show More
test-alias
57 lines | 737 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
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
echo '% ambiguous'
hg ambiguous
echo '% recursive'
hg recursive
Brendan Cully
Move alias into core
r8655 echo '% no definition'
hg nodef
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