view docs/tutorial/testlib/pythonpath.sh @ 3853:796334340cad

evolve: make one missed error to align other error messages Previous patches missed this error to change it to the new format. Let's align this with all other messages raised by `hg evolve` command.
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 15 Jun 2018 00:50:17 +0530
parents aad37ffd7d58
children
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