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

Re: shell mode in client (was: 'SVN' to '.svn')

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-09-05 16:47:46 CEST

Greg Stein <gstein@lyra.org> writes:

> Maybe it would be possible to revamp the client lib API to include an RA
> session, but that is probably a post-1.0 issue. (altho patches are welcome:
> if it isn't too disruptive, then no reason it couldn't go into 1.0 if
> somebody applied their time)

This would actually be a relatively easy change.

Right now, there's a single svn_client.h routine --
'svn_client_authenticate()' -- which ends up returning an
authenticated session object to a repository. Every libsvn_client
routine calls this function, accesses the RA vtable, then closes the
session.

Instead, we could change all the libsvn_client routines to *take* a
a session object, and leave it untouched. It would then be the
responsibility of the libsvn_client caller (the application) to create
and destroy the session object. It means a little more code in our
command-line client to do this. But not a huge deal.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:40 2006

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.