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

Re: *sigh*, Windows file open \ vs. / problem

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-02-11 19:22:15 CET

Jay Freeman (saurik) wrote:

>*sigh*.... I have no idea what code is responsible for dealing with /
>vs. \, but it definitely isn't being done :). It doesn't seem like APR
>is dealing with it, and ends up trying to pass this mess to
>CreateFile():
>
>D:\Code\ninetjer\external\subversion\.svn/.svn/README
>
>Isn't that wrong anyway? Even if you converted the \'s correctly it
>wouldn't be pointing to the right place. Is this my fault? Was I
>supposed to do conversion before passing it to the API? Even then, I
>would assume that somewhere it would be converting _back_ before handing
>it to CreateFile() (either in APR or in Subversion somewhere). Well, it
>is this problem that is causing my problem with files showing up as
>unversioned even when they are supposed to be marked normal.
>
Ah. Right now, Subversion doesn't accept \ as the separator on Windows,
only /. We used to have that feature, but it was implemented so horribly
that we threw it out, but didn't replace it with something better (yet).

Look at issue #603, and related #684; it's one of the myriad things I
haven't yet got around to. If you'd care to take on this one, I'd be
eternally grateful!

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:06 2006

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.