Mercurial > evolve
view tests/testlib/pythonpath.sh @ 3673:9c12b6520a20
import: adapt to fd1dd79cff20
With the latest state of the code, the patch is passed to "import try one" as
parsed.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 17 Apr 2018 18:30:56 +0200 |
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