[PATCH evolve] tests: use curl instead of wget

Matt Harbison mharbison72 at gmail.com
Mon Oct 24 21:34:48 EDT 2016


On Mon, 24 Oct 2016 09:37:27 -0400, Simon Farnsworth <simonfar at fb.com>  
wrote:

> On 24/10/2016 14:32, Pierre-Yves David wrote:
>>
>>
>> On 10/24/2016 03:26 PM, Simon Farnsworth wrote:
>>> # HG changeset patch
>>> # User Simon Farnsworth <simonfar at fb.com>
>>> # Date 1477315431 25200
>>> #      Mon Oct 24 06:23:51 2016 -0700
>>> # Branch stable
>>> # Node ID 5fbaca977cd43dfd806a3f452543ef0ed4a4732e
>>> # Parent  970a4c13ebc320a034bc0aff21e0ef0a84157a92
>>> tests: use curl instead of wget
>>>
>>> curl is supplied by default on macOS 10.12, but wget isn't. As curl is
>>> easy
>>> to install on other OSes, just switch the tests over.
>>
>> Hum, 4e7da688a066 and 3ffa12edc05a who did the exact opposite 1.5 year
>> ago. Can you have a look at them and come back with a plan that fits
>> both need?
>>
>
> I've looked at the commits you referenced, and there's not enough  
> context for me to understand why Matt switched from cURL (works on Linux  
> and macOS by default, needs a package installed on Windows as far as I  
> understand it), to wget (needs a package installed on Windows and macOS  
> as far as I understand it).
>
> Can you give me context for why you took these two commits?

I didn't get a chance to see if wget was installed on previous versions of  
OS X before leaving work today, but I don't recall ever having installed  
it on 10.6 or 10.10.  So maybe that's something new with 10.12?

The reason I switched was because wget is available with msys, but curl  
isn't.  I dug up some Windows build of curl a few months ago, but don't  
recall where.  Maybe it's still in my browser history at work.  I seem to  
have a /mingw/bin/curl on my home system, and vaguely remember building  
that from source a long time ago.

Since I doubt many (any?) people run the tests on Windows, I don't have a  
problem with switching back, if how to install curl is documented on the  
page describing how to run tests on Windows.  I forget if I made similar  
changes in core Mercurial.


More information about the Mercurial-devel mailing list