Mercurial > evolve
view docs/tutorial/testlib/pythonpath.sh @ 4101:88000f1d2406 stable
firstmergecache: ignore permission and OS errors when writing
This cache is related to the obshashrange one and we update it lazily by
default.
This can be an issue when pulling locally from a read only repository that was
not configured for a more aggressive cache warming. The raised permission error
was uncaught and could crash the whole process. Errors during cache update
should not block Mercurial operations.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 13 Sep 2018 17:08:18 +0200 |
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