[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: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-08-20 21:59:05 CEST

Philip Martin <philip@codematters.co.uk> writes:
> 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.

It doesn't seem like any APR developer is taking this on, and it seems
reasonable for Subversion to do what it can in the meantime.

Since APR doesn't always work with "", would our potential issue
description be something like this?:

   Make Subversion libraries internally use "." to refer to the
   current directory, and make the svn_path_xxx functions assume (and
   canonicalize) to "." as the current directory. Tweak the command
   line client and notification system as necessary to handle this.

?
-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 20 22:17:25 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.