[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-14 22:52:58 CET

O.K. I understand and will work around the problem on input and output.
Do you plan to fix your file handling post 1.0 to use native path rules?

The other path related problem I have to defend against is the fact that
if a path of "." if passed into svn you get you an assert.

> pysvn info .
Assertion failed: is_canonical (base, blen), file
l:\subversion\subversion-0.32.1\subversion\libsvn_subr\path.c, line 156

Barry

At 14-11-2003 19:04, kfogel@collab.net wrote:
>I thought the main thing here was that we always use the APR path
>separator, which is '/', and that callers of our libraries need to
>ensure they pass that. (And don't we have some helper funcs to take
>care of it?) The command line client is such a caller, for example.
>
>-K
>
>
>Barry Scott <barry@barrys-emacs.org> writes:
> > Do you have a apr or svn function to do the normalising
> > both ways? Or this a burden on all used of the C API to
> > write?
> >
> > BArry
> >
> > At 14-11-2003 18:16, C. Michael Pilato wrote:
> > >Barry Scott <barry@barrys-emacs.org> writes:
> > >
> > > > What is your plan for supporting OS path separators fully?
> > > > How do you advise this issue is handled before subversion API
> > > > accepts '/' on windows?
> > >
> > >I thought we required (though we don't check this) all API functions
> > >to be called with UTF8-encoded, normalized-style (that's
> > >'/'-delimited) paths.
> > >
> > >---------------------------------------------------------------------
> > >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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 14 22:55:01 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.