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

Re: [PATCH] Fix some deprecation warnings

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: Fri, 6 Nov 2009 11:48:06 -0800

On Fri, Nov 6, 2009 at 11:08 AM, Branko ─îibej <brane_at_xbc.nu> wrote:
> Daniel Rall wrote:
>> 2) Why use svn_uri_join() rather than svn_dirent_join()?
>
> uri_join is for paths within the versionable filesystem, and URLs to
> entities in a repository. dirent_join is for paths in the WC. As I
> learned the hard way.

Yep yep.

The documentation that I cited, plus the fact that we're in
libsvn_client here, makes me think that we're referencing local file
system paths; doesn't that mean we want svn_dirent_join()? (And maybe
that's what you're getting at.)

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2415225
Received on 2009-11-06 20:48:20 CET

This is an archived mail posted to the Subversion Dev mailing list.