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

RE: Poor support for \ on windows from the C API?

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2003-11-15 02:18:15 CET

Greg, I think you are right a simpler client API is required. Which
is why rapidsvn and pysvn are based on the svncpp interface.

I fail to see why you think supporting unix and windows paths is
so hard. Python has solved the problem, My Emacs has solved the
problem and lots of other portable apps. I hope this some thing
that gets fixes after 1.0 is out.

Sigh and I just found another assert for input error. Seems I
must not have a trailing / on a path.

Barry

At 14-11-2003 22:05, Greg Hudson wrote:
>On Fri, 2003-11-14 at 16:52, Arild Fines wrote:
> > I never really understood why this isn't handled in libsvn_client. Is there
> > any scenario in which you *don't* want to perform this
> > conversion/canonization? If every client of the API basically needs to
> > create it's own infrastructure to do this conversion anyway, wouldn't it be
> > better to prevent this redundancy by having libsvn_client handling it?
>
>Mainly because we haven't wanted libsvn_client to be radically different
>from other libraries. (And we can't do that kind of conversion in
>libsvn_wc or libsvn_ra interfaces, because then libsvn_client would have
>to de-convert before calling those libraries, and that would hurt a
>lot.)
>
>I'm not sure I agree; I often think that libsvn_client functions
>*should* be radically simplified: no pool parameters, native path style
>and charset, and so on. I'm particularly concerned that the authors of
>some language bindings are using a simplified interface to libsvn_client
>functions, such that we offer slightly different functionaliy for
>different languages. But I think I'm in the minority on this point.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 15 02:19:12 2003

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.