[PATCH] win32: Add rcpath registry value to installer

Patrick Mézard pmezard at gmail.com
Fri Dec 7 14:05:58 CST 2007

Steve Borho a écrit :
> On Tue, 2007-12-04 at 18:12 -0600, Steve Borho wrote:
>> This concept could use more thought, as Lee pointed out on IRC.  Setting
>> the registry key is like a nuclear option.  It prevents one from having
>> multiple installs of Mercurial on a single Windows machine, at least it
>> prevents each one from having it's own Mercurial.ini file.
>> Perhaps we should check for the existence of a Mercurial.ini in the same
>> directory as the calling executable, and only consult the registry key
>> if the file was not found?  I think that would satisfy all of our
>> current installer requirements.
> Completing this thought, does the attached patch look acceptable?  With
> this version of system_rcpath_win32(), contrib/win32/mercurial.iss can
> be left as it is now.  The minimalist installers will be able coexist on
> the same machine as TortoiseHg or my NSI installer, without interfering
> with each other.

Pushed in crew as 55d3e845736a, thanks.

More information about the Mercurial-devel mailing list