docs/tutorial/testlib/pythonpath.sh
author Pulkit Goyal <7895pulkit@gmail.com>
Mon, 22 Jan 2018 13:33:58 +0530
branchstable
changeset 3450 a8596ac13fe8
parent 3376 aad37ffd7d58
child 5227 b24de4b465ea
permissions -rw-r--r--
tests: add a test showing bookmark not moving in-case of `hg fold` This patch adds a test showing that bookmark is not moved when doing `hg fold`. This test represents issue 5772.

# utility to setup pythonpath to point into the tested repository

export SRCDIR=`dirname $TESTDIR`
if [ -n "$PYTHONPATH" ]; then
    export HGTEST_ORIG_PYTHONPATH=$PYTHONPATH
    export PYTHONPATH=$SRCDIR:$PYTHONPATH
else
    export PYTHONPATH=$SRCDIR
fi