test: rename TOPICROOT to HGTEST_TOPICROOT
Mercurial is about to introduce whitelisting of environment variable, we comply
to the planned prefix in advance in a hope to stay compatible in the future.
--- a/tests/test-evolve-topic.t Thu May 05 21:42:49 2016 +0200
+++ b/tests/test-evolve-topic.t Thu May 05 21:54:26 2016 +0200
@@ -1,9 +1,9 @@
Check we can find the topic extensions
- $ [ -z "$TOPICROOT" ] && echo 'skipped: $TOPICROOT not set' >&2 && exit 80
+ $ [ -z "$HGTEST_TOPICROOT" ] && echo 'skipped: $HGTEST_TOPICROOT not set' >&2 && exit 80
[1]
- $ [ ! -e $TOPICROOT/hgext3rd/topic/__init__.py ] && echo 'skipped: no topic repo found at $TOPICROOT' >&2 && exit 80
+ $ [ ! -e $HGTEST_TOPICROOT/hgext3rd/topic/__init__.py ] && echo 'skipped: no topic repo found at $HGTEST_TOPICROOT' >&2 && exit 80
[1]
$ cat >> $HGRCPATH <<EOF
> [defaults]
@@ -18,7 +18,7 @@
> unified = 0
> [extensions]
> rebase =
- > topic = $TOPICROOT/hgext3rd/topic/
+ > topic = $HGTEST_TOPICROOT/hgext3rd/topic/
> EOF
$ echo "evolve=$(echo $(dirname $TESTDIR))/hgext/evolve.py" >> $HGRCPATH