tests/helpers-testrepo.sh
changeset 33126 98e2c78e309c
parent 33125 acfce52518c4
child 33204 ddd65b4f3ae6
equal deleted inserted replaced
33125:acfce52518c4 33126:98e2c78e309c
    16 }
    16 }
    17 
    17 
    18 # Revert the environment so that running "hg" runs the system hg
    18 # Revert the environment so that running "hg" runs the system hg
    19 # rather than the test hg installation.
    19 # rather than the test hg installation.
    20 syshgenv () {
    20 syshgenv () {
    21     PATH="$ORIG_PATH"
    21     . "$HGTEST_RESTOREENV"
    22     PYTHONPATH="$ORIG_PYTHONPATH"
       
    23     JYTHONPATH="$ORIG_JYTHONPATH"
       
    24     unset HGRCPATH
       
    25     HGPLAIN=1
    22     HGPLAIN=1
    26     export HGPLAIN
    23     export HGPLAIN
    27 }
    24 }
    28 
    25 
    29 # Most test-check-* sourcing this file run "hg files", which is not available
    26 # Most test-check-* sourcing this file run "hg files", which is not available