[PATCH] windows: handle spaces in path to Python (issue2074)

Benjamin Pollack benjamin at bitquabit.com
Sat Oct 9 09:53:35 CDT 2010


# HG changeset patch
# User Benjamin Pollack <benjamin at bitquabit.com>
# Date 1286635950 18000
# Node ID 3844d49a372bda2ed4154a4f1cb7dd15b8981958
# Parent  8be2d78460ef1de12a3ada9ae9ce937d583e6545
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 install does not put python.exe on the PATH...
 rem %~dp0 is the directory of this script
 
-%~dp0..\python "%~dp0hg" %*
+"%~dp0..\python" "%~dp0hg" %*
 endlocal


More information about the Mercurial-devel mailing list