tests/bzr-definitions
author Paul Morelle <paul.morelle@octobus.net>
Fri, 22 Jun 2018 17:12:24 +0200
changeset 38632 eb8504715071
parent 26066 89872688893f
child 39250 7a88643bc0ef
permissions -rw-r--r--
sparse-read: target density of 50% instead of 25% The target density value is wrong. The default target chain span is 4*text-length. However, the target max chain payload is 2*text-length. So default target density should be 50% (2/4) not 25% (1/4).

# this file holds the definitions that are used in various bzr tests

TERM=dumb; export TERM
echo '[extensions]' >> $HGRCPATH
echo 'convert = ' >> $HGRCPATH

glog()
{
    hg log -G --template '{rev}@{branch} "{desc|firstline}" files: {files}\n' "$@"
}

manifest()
{
    echo "% manifest of $2"
    hg -R $1 manifest -v -r $2
}