tests/testlib/pythonpath.sh
author Pulkit Goyal <7895pulkit@gmail.com>
Sun, 29 Apr 2018 19:18:54 +0530 (2018-04-29)
changeset 3741 ec460882eab7
parent 2046 994d81caec68
child 4332 9980df8eda98
permissions -rw-r--r--
evolve: show cset hash in "merging conetnt-divergent changeset" While I was here I also mae de it repo.ui.status() instead of repo.ui.note() to align the behavior with rest of the messages.
# 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