Mercurial > evolve
view tests/testlib/pythonpath.sh @ 2526:f4acfbb36191
template: fix precursors template for older mercurial version
In mercurial 4.1 and below templatekw._hybrid require the gen argument to be different
than None. Manually compute the same default output for these older mercurial
versions.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Tue, 30 May 2017 19:43:14 +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