# HG changeset patch # User Pierre-Yves David # Date 1502275926 -7200 # Node ID fa2deeb5dd0315195317e7c92a0f70fef9b71397 # Parent 498409c72dd23df44d87a254e1e107c5659206a3 test: setup python path for topic tests This make thing simpler and clearer. diff -r 498409c72dd2 -r fa2deeb5dd03 tests/testlib/topic_setup.sh --- a/tests/testlib/topic_setup.sh Thu Jul 27 17:38:37 2017 +0200 +++ b/tests/testlib/topic_setup.sh Wed Aug 09 12:52:06 2017 +0200 @@ -1,4 +1,5 @@ #!/bin/sh +. $TESTDIR/testlib/pythonpath.sh # This file holds logic that is used in many tests. # It can be called in a test like this: @@ -11,5 +12,5 @@ [extensions] rebase= +topic= EOF -echo "topic=$(echo $(dirname $TESTDIR))/hgext3rd/topic" >> $HGRCPATH