view tests/bzr-definitions @ 22037:8665c647da6e

config: fix restoreconfig of non existing config When the section, but no value existed, the `del` call raised a key error.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 05 Aug 2014 21:16:24 -0700
parents aa9385f983fa
children 89872688893f
line wrap: on
line source

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

"$TESTDIR/hghave" bzr || exit 80

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
}