# HG changeset patch # User Benjamin Pollack # Date 2010-10-09 16:04:36 # Node ID 5096faaa280e7c7db263e77e470bd967d969bcd4 # Parent 3c31c0e42b11b103ba438653cd4164c150331297 windows: handle spaces in path to Python (issue2074) diff --git a/contrib/win32/hg.bat b/contrib/win32/hg.bat --- a/contrib/win32/hg.bat +++ b/contrib/win32/hg.bat @@ -8,5 +8,5 @@ rem Use a full path to Python (relative rem install does not put python.exe on the PATH... rem %~dp0 is the directory of this script -%~dp0..\python "%~dp0hg" %* +"%~dp0..\python" "%~dp0hg" %* endlocal