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

Re: [RFC] Paths API (svn_dirent_uri.h) - improvements

From: Branko Cibej <brane_at_xbc.nu>
Date: Wed, 11 Nov 2009 17:46:21 +0100

Julian Foad wrote:
> Stefan Sperling wrote:
>
>> Yes, but there's no function that deals with the case where you get
>> a Windows path on unix and need to normalise it to internal style.
>>
>> I don't know if dirent_uri should provide that. But I had to cook
>> a custom hack in libsvn_client/patch.c to deal with this case.
>>
>
> Good point: it sounds like it would be useful for the lib to provide
> functions for handling Windows paths even when running on Unix.
>

No wait -- when do you ever have to deal with Windows paths on Unix?
where do they come from? Those are not valid filesystem paths on the OS
where your client is running -- so what's the use case?

-- Brane

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2416637
Received on 2009-11-11 17:46:36 CET

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.