##// END OF EJS Templates
tests: fix test-profile to not depend on HGPROF environment variable...
tests: fix test-profile to not depend on HGPROF environment variable The test-profile test would fail if the user had HGPROF set to another profiler in their environment. This fix makes the test independent of that environment variable. Reverts the previous attempt to fix this, which was not cross platoform.

File last commit:

r12653:5096faaa default
r18765:cd2c8251 default
Show More
hg.bat
12 lines | 297 B | application/x-msdownload | BatchLexer
Paul Moore
Add a batch file driver for Windows
r6513 @echo off
rem Windows Driver script for Mercurial
setlocal
set HG=%~f0
rem Use a full path to Python (relative to this script) as the standard Python
rem install does not put python.exe on the PATH...
rem %~dp0 is the directory of this script
Benjamin Pollack
windows: handle spaces in path to Python (issue2074)
r12653 "%~dp0..\python" "%~dp0hg" %*
Paul Moore
Add a batch file driver for Windows
r6513 endlocal