Mercurial > hg
view tests/library-infinitepush.sh @ 50721:3455059a17aa stable
Added tag 6.5rc0 for changeset bb42988c7e15
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Thu, 22 Jun 2023 14:24:21 +0200 |
parents | 68c4f8f3c9f4 |
children |
line wrap: on
line source
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 }