# HG changeset patch # User Pierre-Yves David # Date 2024-11-11 15:42:20 # Node ID 02da7e76706506f18bded173a726e386ef428abd # Parent 7c1d7edff91b13fd6f7f6c7a423a4328401e7cb7 windows: adjust PYTHONPATH update in test-status-color.t On Windows the PATH separator is ";", not ":". The Windows wheel wants it set with ";". diff --git a/tests/test-status-color.t b/tests/test-status-color.t --- a/tests/test-status-color.t +++ b/tests/test-status-color.t @@ -399,9 +399,16 @@ color coding of error message with curre color coding of error message without curses $ echo 'raise ImportError' > curses.py +#if windows + $ PYTHONPATH="`pwd`;$PYTHONPATH" hg unknowncommand > /dev/null + hg: unknown command 'unknowncommand' + (use 'hg help' for a list of commands) + [10] +#else $ PYTHONPATH=`pwd`:$PYTHONPATH hg unknowncommand > /dev/null hg: unknown command 'unknowncommand' (use 'hg help' for a list of commands) [10] +#endif $ cd ..