tests/testlib/pythonpath.sh
author Sushil khanchi <sushilkhanchi97@gmail.com>
Wed, 31 Oct 2018 14:01:58 +0530
changeset 4248 51b69f3dfc0b
parent 2046 994d81caec68
child 4332 9980df8eda98
permissions -rw-r--r--
next: update the command description Now, if necessary next command evolve the next child revision by defualt. You don't need to pass the --evolve flag.

# 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