docs/tutorial/testlib/pythonpath.sh
author Pulkit Goyal <7895pulkit@gmail.com>
Tue, 16 Jan 2018 17:14:32 +0530 (2018-01-16)
changeset 3459 218fbcc3220c
parent 3376 aad37ffd7d58
child 5227 b24de4b465ea
permissions -rw-r--r--
evolve: store the replacements occurred during `hg evolve` at top level This patch starts storing the replacements made during the `hg evolve` command. The current dictionary is not used anywhere but will be used in future as we want to introduce abort functionality, so we want to delay writing of obsmarkers, storing these exchanges in statefile etc.
# 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