[issue2074] hg.bat doesn't work when Python installed in Program Files
Eugene
bugs at mercurial.selenic.com
Sat Mar 6 18:24:39 UTC 2010
New submission from Eugene <eug.baranov at gmail.com>:
I've downloaded the latest Mercurial source and build and installed it on my
Windows machine.
Python's Script folder is in my Path variable, but Mercurial's install
generated hg.bat file calling hg:
%~dp0..\python "%~dp0hg" %*
This causes an error when Python is installed in a path containing spaces
(e.g. "C:\Program Files\Python") -- it will try to call "C:\Program" with
arguments "Files\Python\python ...")
I've fixed it in my install by quoting python:
"%~dp0..\python" "%~dp0hg" %*
----------
messages: 11943
nosy: Regent
priority: bug
status: unread
title: hg.bat doesn't work when Python installed in Program Files
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2074>
____________________________________________________
More information about the Mercurial-devel
mailing list