Win32 hg.exe in single file

Alexandr N Zamaraev tonal at promsoft.ru
Tue Jul 22 22:21:40 CDT 2008


Paul Moore wrote:
> On 21/07/2008, Alexandr N Zamaraev <tonal at promsoft.ru> wrote:
>>      extra['console'] = ['hg']
>> +    extra['zipfile'] = None
> 
> This seems to work, but what's the benefit? It saves 1 file out of 37
> in my build. It doesn't seem to have any significant effect
> (beneficial or otherwise) on startup times. Personally, I'd prefer to
> have library.zip separate, so that I can look inside easily if I need
> to debug, but that's rare.
> 
> Can you explain why this change is worth it?
1) Many archive viewers (Far, Total Comander, 7zip...) can show a files
inside the zip-exe. :-)

2) Without library.zip we have 3 file + mercurial subdir (97 files).
In mercurial subdir only web templates. They are not needed if you do
not use hg as a server. IMHO Not many people use it.
w9xpopen.exe - need only for w9x systems. Their number is small and
decreasing.
msvcr71.dll - Need for work python intrepreter. But Many systems already
contain .dll because it uses a large number of programmes.
Thus, in a large number of cases, you can use just one file - hg.exe

3) The system may be several programmes build through py2exe. Their
library.zip files may conflict.

4) I come across with errors, where update library.zip but forgot to
update prog.exe.



More information about the Mercurial-devel mailing list