[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: Paul Burba <pburba_at_collab.net>
Date: 2007-03-24 06:27:42 CET

> -----Original Message-----
> From: Lieven Govaerts [mailto:svnlgo@mobsol.be]
> Sent: Friday, March 23, 2007 10:40 PM
> To: Paul Burba
> Cc: D.J. Heap; Subversion Development
> Subject: Re: svnadmin dump/verify/load uses svn_path_join
>
> 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.

Hi Lieven,

svn_dirent_is_absolute is all that is required at least in the problem I
mentioned above. Note that the workaround I have in place is only
needed in once place, so the impact is not currently widespread.
 
> > 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.

Heh, you lost me there, but it's late am and I'm a bit fried. Could you
maybe give me an example where "c:hi" would be absolute? I'm just not
seeing it :-\

Paul B.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 24 06:28:17 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.