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

Re: RFE: svn_client_ls() should return locking info

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-04-30 22:09:37 CEST

On Sat, 30 Apr 2005, Greg Hudson wrote:

> On Sat, 2005-04-30 at 10:47, SteveKing wrote:
> > It would be a little bit faster. If you call svn_ra_get_locks() inside
> > svn_client_ls3(), then you can reuse, the ra session.
>
> Here's an interesting idea for a Subversion enhancement: add an RA
> session (and a subpool to manage it) to the client context.
> svn_client_* functions would use the session if it's valid, and would
> only be allowed to leave it valid if they leave it in the top-level
> command state.
>
Yeah, I've also been thinking along these lines. But my idea was a session
cache with room for more than one session, since some commands use two or
more sessions.

Maybe an RA session could keep track of whether it is "cachable" instead
of having the client libs decide whether to leave the session in the
cache.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 30 22:02:54 2005

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