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

Re: Re-use connection for svn:externals

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Tue, 09 Feb 2010 12:51:25 -0500

Ivan Zhakov wrote:
> On Tue, Feb 9, 2010 at 7:09 PM, Julian Foad <julian.foad_at_wandisco.com> wrote:
>> There are several places where the client should/could re-use a
>> connection. During a multi-target update command like "svn up a b c" is
>> another example.
>>
>> Would you, or anyone you know, be interested in working on it? I would
>> be glad to give you some help and guidance.
>>
> Agreed. svn_client_* functions spend a lot time on creating RA
> connection. My idea was to introduce "connection pool" to hold and
> reuse RA connections. This pool can be stored in svn_client_ctx_t or
> in separate object.

I was about to suggest exactly the same idea, Ivan! I'd love to have such a
thing handy with some nice private APIs for locating a connection for use
(or re-use). I imagine that anyone who has looked at the merge tracking
code would see the value here.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2010-02-09 18:52:07 CET

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