[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn trunk r15653: PASS (win32 ra_local fsfs)

From: D.J. Heap <dj_at_shadyvale.net>
Date: 2005-08-11 02:31:56 CEST

David James wrote:
> On 8/10/05, D.J. Heap <dj@shadyvale.net> wrote:
>
>>The subject line says they passed, but they didn't.
>>
>>The commit failure can be fixed by making sure the correct *case* for the
>>test drive and directory is passed to win-tests.py.
>>
>>IE, "win-tests.py -r -v -c C:\tests-local"
>
>
> Can we upgrade win-tests.py to correct this problem? If we correct the
> case of the path in win-tests.py, we don't need to ask testers to
> check the case of their specified path.
>
> Cheers,
>
> David
>
>

I'm not a python expert...is there some way in python to get the real name
of a file or directory on a case-insensitive filesystem? It seems to always
lowercase everything (which the docs indicate it will do in some methods).
abspath, realpath, normcase, etc. do not work.

It might be possible to tear down and then build up the full path with
os.listdir since it does preserve the case...except the drive letter will
still not be accounted for. Assuming the drive letter is always uppercase
might be reasonable...I'm not sure.

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 11 02:32:50 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.