tests/bzr-definitions
author Julien Cristau <jcristau@debian.org>
Mon, 14 Oct 2024 16:46:25 +0200
branchstable
changeset 51696 cd788962c6d9
parent 39250 7a88643bc0ef
permissions -rw-r--r--
tests: use shlex.quote instead of pipes.quote The pipes module got removed in python 3.13. https://bugs.debian.org/1084553

# 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+: [{file_adds}], files-: [{file_dels}], files: [{file_mods}]\n' "$@"
}

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