windows: handle spaces in path to Python (issue2074)
authorBenjamin Pollack <benjamin@bitquabit.com>
Sat, 09 Oct 2010 18:04:36 +0200
changeset 12653 5096faaa280e
parent 12652 3c31c0e42b11
child 12654 646eb9337c87
windows: handle spaces in path to Python (issue2074)
contrib/win32/hg.bat
--- a/contrib/win32/hg.bat	Fri Oct 08 23:23:49 2010 +0200
+++ b/contrib/win32/hg.bat	Sat Oct 09 18:04:36 2010 +0200
@@ -8,5 +8,5 @@
 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