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

Re: svn_client_proplist slow to get all of one dir

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2004-11-04 20:48:10 CET

On Oct 31, 2004, at 17:00, Peter N. Lundblad wrote:

> On Sun, 31 Oct 2004, Barry Scott wrote:
>
>> Why is one call to svn_client_proplist that returns details on 54
>> files
>> 10 times faster then 54 calls to get
>> info on single files?
>>
> svn_client_prop_list will open the repository for each call. That's
> probably more work than examining an open repository. If this is a big
> problem, you could use the RA layer directly. It is more code, but
> gives
> you more flexibility as well.

Its bad enough learning enough to drive the client API. I don't like
being
forced to learn the RA one as well. This is all to hard. Maybe I just
read the
files out of the .svn and skip the API's altogether. I don't like the
way the
path of least code/resistence is to ignore SVN API's. (I already avoid
svn_client_cat and reach into the text_base directly.)

> I'm not saying we shouldn't consider replacing recurse with depth if
> it is
> a common need, just hinting that you can accomplish what you want with
> the
> existing public APIs.

I'm convinced its should be a common need. What will convince you?
Can TSVN show properties in its display? If so it needs this
as well.

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 4 20:49:44 2004

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.