diff -r d62d2e346acf -r 4e6a6d0dccee tests/helpers-testrepo.sh --- a/tests/helpers-testrepo.sh Wed Apr 04 12:16:50 2018 -0700 +++ b/tests/helpers-testrepo.sh Wed Apr 04 13:21:34 2018 -0700 @@ -9,6 +9,13 @@ # The mercurial source repository was typically orignally cloned with the # system mercurial installation, and may require extensions or settings from # the system installation. + +if [ -n $HGTESTEXTRAEXTENSIONS ]; then + for extension in $HGTESTEXTRAEXTENSIONS; do + extraoptions="$extraoptions --config extensions.$extension=!" + done +fi + syshg () { ( syshgenv @@ -48,6 +55,6 @@ alias testrepohg=syshg alias testrepohgenv=syshgenv else - alias testrepohg=hg + alias testrepohg="hg $extraoptions" alias testrepohgenv=: fi