[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: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2006-09-03 01:56:45 CEST

On 9/2/06, Barry Scott <barry@barrys-emacs.org> wrote:
> 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?).
It used to stat and play around with a lot of files. It also used
single file stats in places that it could have used readdir.

1.4 should be a *lot* better about this (i did a lot of strace and
extraneous stat/etc removal).

Not to mention files without properties no longer have an empty file
associated with them.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 3 01:57:15 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.