Mercurial > evolve
view tests/testlib/pythonpath.sh @ 5597:0cb1718ed95c
evolvecmd: move bookmark-deactivation out of _relocatecommit()
The bookmark-deactivation code will be done whether or not we're using
in-memory merge in `_relocatecommit()`. It could be put in a new
`_preparerelocate()` or something, but it's short enough that it
doesn't seem worth it.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 25 Sep 2020 21:47:30 -0700 |
parents | 277b45cf0dda |
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 if uname -o 2> /dev/null | grep -q Msys; then export PYTHONPATH="$SRCDIR;$PYTHONPATH" else export PYTHONPATH=$SRCDIR:$PYTHONPATH fi else export PYTHONPATH=$SRCDIR fi