tests/test-extension.t
changeset 34844 f0a62afd1e40
parent 34843 df871c41bd00
child 34845 78d9a7b7cdb6
equal deleted inserted replaced
34843:df871c41bd00 34844:f0a62afd1e40
   512   >         pass # intentional failure
   512   >         pass # intentional failure
   513   > EOF
   513   > EOF
   514 
   514 
   515   $ (PYTHONPATH=${PYTHONPATH}${PATHSEP}${TESTTMP}; hg --config extensions.checkrelativity=$TESTTMP/checkrelativity.py checkrelativity)
   515   $ (PYTHONPATH=${PYTHONPATH}${PATHSEP}${TESTTMP}; hg --config extensions.checkrelativity=$TESTTMP/checkrelativity.py checkrelativity)
   516 
   516 
       
   517 #endif
       
   518 
   517 Make sure a broken uisetup doesn't globally break hg:
   519 Make sure a broken uisetup doesn't globally break hg:
   518   $ cat > $TESTTMP/baduisetup.py <<EOF
   520   $ cat > $TESTTMP/baduisetup.py <<EOF
   519   > def uisetup(ui):
   521   > def uisetup(ui):
   520   >     1/0
   522   >     1/0
   521   > EOF
   523   > EOF
   542   (see https://mercurial-scm.org for more information)
   544   (see https://mercurial-scm.org for more information)
   543   
   545   
   544   Copyright (C) 2005-2017 Matt Mackall and others
   546   Copyright (C) 2005-2017 Matt Mackall and others
   545   This is free software; see the source for copying conditions. There is NO
   547   This is free software; see the source for copying conditions. There is NO
   546   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   548   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   547 
       
   548 #endif
       
   549 
   549 
   550   $ cd ..
   550   $ cd ..
   551 
   551 
   552 hide outer repo
   552 hide outer repo
   553   $ hg init
   553   $ hg init