D1163: tests: move baduisetup() test out of "#if demandimport"

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Wed Oct 18 08:47:01 EDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf0a62afd1e40: tests: move baduisetup() test out of "#if demandimport" (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1163?vs=2938&id=2972

REVISION DETAIL
  https://phab.mercurial-scm.org/D1163

AFFECTED FILES
  tests/test-extension.t

CHANGE DETAILS

diff --git a/tests/test-extension.t b/tests/test-extension.t
--- a/tests/test-extension.t
+++ b/tests/test-extension.t
@@ -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



To: martinvonz, #hg-reviewers, quark
Cc: mercurial-devel


More information about the Mercurial-devel mailing list