Mercurial > hg-stable
changeset 34844:f0a62afd1e40
tests: move baduisetup() test out of "#if demandimport"
It no longer depends on demandimport.
Differential Revision: https://phab.mercurial-scm.org/D1163
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 17 Oct 2017 10:25:32 -0700 |
parents | df871c41bd00 |
children | 78d9a7b7cdb6 |
files | tests/test-extension.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-extension.t Tue Oct 17 09:46:31 2017 -0700 +++ b/tests/test-extension.t Tue Oct 17 10:25:32 2017 -0700 @@ -514,6 +514,8 @@ $ (PYTHONPATH=${PYTHONPATH}${PATHSEP}${TESTTMP}; hg --config extensions.checkrelativity=$TESTTMP/checkrelativity.py checkrelativity) +#endif + Make sure a broken uisetup doesn't globally break hg: $ cat > $TESTTMP/baduisetup.py <<EOF > def uisetup(ui): @@ -545,8 +547,6 @@ This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -#endif - $ cd .. hide outer repo