docs/tutorial/testlib/pythonpath.sh
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 19 Apr 2019 10:23:53 -0700
changeset 4610 c54d4c2c2846
parent 3376 aad37ffd7d58
child 5227 b24de4b465ea
permissions -rw-r--r--
evolve: drop nested locks and transactions All callers of _solveone() now take the locks and start the transactions, so there's no need to do that anymore.

# 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