Mercurial > evolve
view docs/tutorial/testlib/pythonpath.sh @ 4798:2e14a9386316
abort: added support for evolve to hg abort
This patch adds support of `hg evolve --abort` to `hg abort`
plan.
This involves creating a `hgabortevolve()` function under
`evolvecmd` which ensures abortion of evolve via `hg abort`.
This function is then registered using `addunfinished()` in
`__init__.py`.
Results are shown as tests.
author | Taapas Agrawal <taapas2897@gmail.com> |
---|---|
date | Thu, 11 Jul 2019 22:56:46 +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