view tests/testlib/pythonpath.sh @ 2117:e9d5f54765a2

exchange: fix some wrong reference to serveronly The function have all moved into 'obsexchange' now, so we do not need (and actually cannot) seek them in 'evolve.serveronly'.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Tue, 14 Mar 2017 16:56:48 -0700
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