[PATCH 2 of 2] scmutil: change canonpath to use util.samefile (issue2167)

Adrian Buehlmann adrian at cadifra.com
Thu Jun 21 20:09:58 CDT 2012


On 2012-06-22 02:27, Mads Kiilerich wrote:
> Adrian Buehlmann wrote, On 06/21/2012 11:42 PM:
>> And yeah, I don't set TMPDIR when running the suite. Do we have to rely
>> on setting TMPDIR? Or can we trust Windows on knowing where the correct
>> temp directory is, as it's specified?
> 
> In some cases the 8.3 names will show up if long filenames are used, and 
> TEMP will on some systems by default be a folder with long names.

I haven't seen that here. So I can leave things as they were intended
for by Windows and use the Windows default path for the TMP dir when I
run the tests here, ok?

I don't mind if those who do have problems set TMPDIR to c:\tmp or
whatever, but I see no point in setting it here.




More information about the Mercurial-devel mailing list