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

Re: svnadmin dump/verify/load uses svn_path_join

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: 2007-03-24 03:39:49 CET

Paul Burba wrote:
> Hi Lieven,
>
> While updating the merge tracking branch I ran into some fallout from
> r23907 because we were using svn_path_is_absolute(). No big deal, we
> can work around that easily enough, but reading this thread one thing
> caught my eye:
>
Do you need svn_dirent_is_absolute or svn_uri_is_absolute? I rather add
one of those again instead of you needing to rely on workarounds.

> How is "c:hi" an absolute path on Windows? Isn't "c:hi" really the
> equivalent of "c:.\hi"?
>
Depending on the way you look at 'c:hi' it's both absolute and relative.
Your example makes it look like a relative path. However, a relative
path can be added to the current working directory to make an absolute
path, but you can't do that with 'c:hi'. So for practical reasons 'c:hi'
type of paths are considered absolute.

Lieven

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 24 03:40:06 2007

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.