##// END OF EJS Templates
Issue919: add a standard extension to recreate hardlinks between repositories....
Issue919: add a standard extension to recreate hardlinks between repositories. Having to run a standalone Python script from the contrib dir is a nuisance. Also makes various improvements to locking, file discovery, etc. Should also update: http://www.selenic.com/mercurial/wiki/index.cgi/RecreateHardlinksBetweenRepositories

File last commit:

r8655:21688b8a default
r9729:aa9ccab5 default
Show More
test-alias
52 lines | 687 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
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
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