[PATCH 0 of 4] Win32 installer updates

Patrick Mézard pmezard at gmail.com
Mon Apr 13 16:07:54 CDT 2009


Pascal Quantin a écrit :
> 2009/4/13 Patrick Mézard <pmezard at gmail.com>:
>> Pascal Quantin a écrit :
>>> Hi,
>>> you will find 4 patches to enhance the win32 installer. 3 of them were
>>> already sent previously, but I never got a feedback. So I'm making a new
>>> attempt ;).
>> You did well, in crew:
>>
>>    http://hg.intevation.org/mercurial/crew/rev/f614f11a96ca
>>
>> Thanks.
>>
>>> The 4th one adds the instructions on how to build Mercurial with Python 2.6
>>> and updates the Inno Setup script accordingly (while staying compatible with
>>> the previous Python version).
>> This one does not work for me, I get "IMPORTING" instead of the version number. I will investigate.
> 
> Hi Patrick,
> which patch is causing you an issue ? The one to set automatically the
> version number ? Please ensure that you have installed Inno Setup
> Preprocessor. In the last two months, I never got "IMPORTING" instead
> of the version number. What is the content of the version.txt file in
> contrib/win32 directory ?

A ghost .pyc again: I had a stray osutil.pyc in mercurial/ which was imported instead of the pure/ one, which broke the whole version retrieval machinery. It works now.

Your patch probably works but I do not like generating files in the source tree very much, and for a reason, read above :-). Perhaps we can find a way to put this in build/ or dist/ somehow ?

--
Patrick Mézard


More information about the Mercurial-devel mailing list