[Bug 4066] New: Windows download link prefers 64-bit
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Mon Oct 21 21:22:58 UTC 2013
http://bz.selenic.com/show_bug.cgi?id=4066
Priority: normal
Bug ID: 4066
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: Windows download link prefers 64-bit
Severity: bug
Classification: Unclassified
OS: Windows
Reporter: mpm at selenic.com
Hardware: PC
Status: UNCONFIRMED
Version: 2.7
Component: Mercurial
Product: Mercurial
>From list:
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list