##// END OF EJS Templates
issue6528: add a config option to control the fixing on the fly...
issue6528: add a config option to control the fixing on the fly This will allow people who know to be safe to avoid any performance overhead (and other potential issue). Differential Revision: https://phab.mercurial-scm.org/D11271

File last commit:

r48378:1c3ae1b3 default
r48630:2813d406 5.9rc1 stable
Show More
library-infinitepush.sh
32 lines | 592 B | application/x-sh | BashLexer
/ tests / library-infinitepush.sh
Pulkit Goyal
infinitepush: move the extension to core from fb-hgext...
r37204 scratchnodes() {
for node in `find ../repo/.hg/scratchbranches/index/nodemap/* | sort`; do
echo ${node##*/} `cat $node`
done
}
scratchbookmarks() {
for bookmark in `find ../repo/.hg/scratchbranches/index/bookmarkmap/* -type f | sort`; do
echo "${bookmark##*/bookmarkmap/} `cat $bookmark`"
done
}
setupcommon() {
cat >> $HGRCPATH << EOF
[extensions]
infinitepush=
[ui]
Matt Harbison
tests: ensure `$PYTHON` is quoted for Windows...
r47858 ssh = "$PYTHON" "$TESTDIR/dummyssh"
Pulkit Goyal
infinitepush: move the extension to core from fb-hgext...
r37204 [infinitepush]
branchpattern=re:scratch/.*
EOF
}
setupserver() {
cat >> .hg/hgrc << EOF
[infinitepush]
server=yes
indextype=disk
storetype=disk
reponame=babar
EOF
}