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

Re: Status of new working copy format

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2006-09-02 20:37:20 CEST

On Aug 31, 2006, at 02:26, Ben Collins-Sussman wrote:

> On 8/30/06, Mark Phippard <markp@softlanding.com> wrote:
>
>> It isn't a great idea to be doing your own parsing
>
> ...especially since we've already provided you an API to do it. :-)

A very very very slow API in the case of properties.

In pysvn WorkBench I parse the working copy to get properties for
all files in one directory. The python code that does this is atleast
an order of magnitude faster then the SVN API.

Once SVN has a fast API to get at properties I'd love to use it.
The key here is that GUIs want info on all files in a directory.
svn_client_list and svn_client_status are the only two commands
that will do this. All others require one call for each files that that
is very slow (because of wc locking?).

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 2 20:38:44 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.