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

Re: svn commit: r14756 - branches/1.2.x

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-05-17 19:21:06 CEST

On Tue, 2005-05-17 at 15:21 +0200, Peter N. Lundblad wrote:
> > svnversion does NOT depend on libsvn_ra.
> > It depends on libsvn_client, which just happens to depend on libsvn_ra, but
> > none of the functions that svnversion invokes in libsvn_client actually
> > cause any use of libsvn_ra.

Okay. That was never stated in the justification for r14755. Removing
the svn_ra_initialize call should be safe in that case.

> Yes, so from an API perspective it is wrong to call svn_ra_initialize from
> a program that doesn't directly use libsvn_ra.

I'm not quite sure what you mean by this statement. It sounds like we
have to link against -lsvn_ra if we use svn_ra_initialize (on some
platforms), but I don't think it's wrong for a 1.2 program to call
svn_ra_initialize if it doesn't directly call any other svn_ra
functions.

No argument against providing a libsvn_client initialization API.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 17 19:24:50 2005

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