[PATCH] run-tests: alias hg to hg.exe for Windows

Adrian Buehlmann adrian at cadifra.com
Thu Jun 28 19:59:15 UTC 2012


On 2012-06-28 21:04, Matt Mackall wrote:
> On Thu, 2012-06-28 at 20:35 +0200, Adrian Buehlmann wrote:

[..]

>> With regards to this patch here, like I already said, we can put the
>> alias into
>>
>>   C:\MinGW\msys\1.0\etc\profile
> 
> I'm actually not sure adding it to the profile is preferable. Both are
> hacks, but one is a detail hidden by test suite. If we need a hack (and
> it seems we do), I'd tend to prefer the latter.

...which will not cover scripts created on the fly by tests.

Like, for example, the one created by test-bisect.t.

But I have no strong opinion either here. If you prefer it in the
run-test.py, then fine by me. We can look at what to do with the special
cases there, then.






More information about the Mercurial-devel mailing list