view tests/testlib/pythonpath.sh @ 2134:b86b94434de7

stablerange: remove now unnecessary setter The class is handling all computations and cache access by itself now. So we can drop this method.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Sun, 19 Mar 2017 04:47:31 +0100
parents 994d81caec68
children 9980df8eda98
line wrap: on
line source

# 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