download package doesn't work, 64bit TortoiseHg selected when 32-bit is needed.

Haszlakiewicz, Eric EHASZLA at transunion.com
Mon Oct 21 21:47:24 UTC 2013


> -----Original Message-----
> From: mercurial-bounces at selenic.com [mailto:mercurial-
> bounces at selenic.com] On Behalf Of Haszlakiewicz, Eric
> 
> I just tried downloading the most recent version of Mercurial, and got an
> error that says "This installation package is not supported by this processor
> type.  Contract your product vendor."
> 
> The default download link from mercurial.selenic.com points at a 64-bit
> binary.  I dug into the source for the web page a bit, and it looks like it uses
> regular expressions to try to match the navigator.userAgent object, but all it
> has for the TortoiseHG Windows entry is ".*Windows.*" so the 64-bit one is
> returned when it shouldn't be.
> 
> If you change the regexp's to say ".*Windows.*(WOW|x)64.*" it works much
> better.

Thanks for creating the new bug (http://bz.selenic.com/show_bug.cgi?id=4066), Matt.  I guess I should have done that from the outset.

Eric



More information about the Mercurial mailing list