##// END OF EJS Templates
infinitepush: aggressively deprecated infinite push...
infinitepush: aggressively deprecated infinite push We add a large warning and an explicit abort. Both can be disable through config, but neither are explicitly documented. If any user exists I really want them to get in touch with the community.

File last commit:

r51597:68c4f8f3 default
r51597:68c4f8f3 default
Show More
library-infinitepush.sh
33 lines | 597 B | application/x-sh | BashLexer
/ tests / library-infinitepush.sh
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=
[infinitepush]
branchpattern=re:scratch/.*
deprecation-abort=no
deprecation-message=yes
EOF
}
setupserver() {
cat >> .hg/hgrc << EOF
[infinitepush]
server=yes
indextype=disk
storetype=disk
reponame=babar
EOF
}