[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: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-04-30 18:27:06 CEST

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.

Perhaps this behavior would need to be conditional (in 1.x) on the app
setting a flag, since it might be undesirable for apps to suddenly have
a lot of long-lived connections to the server.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 30 18:28:05 2005

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