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

Re: svn cp bug?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-08-20 21:52:50 CEST

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> Philip Martin <philip@codematters.co.uk> writes:
> > I've fixed the immediate problem by adding an svn_path_is_empty_nts
> > check, that's how it's done elsewhere in the code. I guess we need a
> > path canonicalization issue, if we don't have one already.
> We have several distinct ones, and for all I know we need several new
> ones :-). (That is, do we have one path canonicalization issue, or
> many, possibly interrelated, ones?)

The problems I was referring to are that the Subversion libraries
internally use both "." and "" to refer to the current directory, the
svn_path_xxx functions do not always do the right thing when given a
"" or "." argument, and some APR functions don't work with "".

Some people have expressed the opinion that path canonicalization
should be handled by APR. I'm not sure where that leaves the
svn_path_xxx functions, since it doesn't make sense to try to split,
join and manipulate paths in Subversion if the canonical form is
determined by APR.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 20 21:53:30 2002

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.