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

Re: make svn_client__open_ra_session() public (or: how to easily get a session)

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-05-01 20:39:39 CEST

On Sun, 1 May 2005, Ben Collins-Sussman wrote:

>
> On May 1, 2005, at 12:02 PM, SteveKing wrote:
>
> > Ben Collins-Sussman wrote:
> >> On May 1, 2005, at 11:46 AM, SteveKing wrote:
> >>> Hi,
> >>>
> >>> For functions like svn_ra_get_locks() or svn_ra_get_repos_root() an
> >>> svn_ra_session_t object is needed. Currently, I'm using
> >>> svn_client__open_ra_session() to get such a session object. I know
> >>> that this function isn't public and shouldn't be used directly by
> >>> clients, but I haven't found an easier way.
> >>> So my request: could you make svn_client__open_ra_session a public
> >>> function or tell me how to create a session object with a public
> >>> API?
> >>>
> >> Um, it's the very first public function in svn_ra.h: svn_ra_open().
> >> :-)
> >> Have you never used svn_ra.h before? I don't understand.
> >> svn_ra_open() has always been the foundation, the first thing you
> >> need to call before any other RA function...?
> >
> > Well, yes I've seen that one. But: svn_client__open_ra_session() is
> > _much_ easier to use because it takes an svn_client_ctx_t structure
> > instead of an svn_ra_callbacks_t structure.
>
> True. Perhaps we should make that function public after all, it sounds
> like it would be more convenient.
>
+1. In 1.3.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 1 20:34:34 2005

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