Barry Scott wrote:
> I'd like to see a version of svn_client_proplist that can return all the
> properties of
> all the files in a single directory.
Well, I'm in two minds about whether we should support all three of "depth=0",
"depth=1" and "depth=infinity" recursion behaviours, at the command-line
interface and at API level. One part of me says that "depth=1" is one
particular case that can be built up from "depth=0" and shouldn't be specially
supported. But the other side of me acknowledges that it is a commonly desired
result.
> At the moment the two choices have problems:
>
> 1. get all recursive - returns for all sub directories, not what I want
> 2. get one files props - far too slow, takes 1.773s for 54 files vs.
> recusive returning 54 in 60ms
In a WC I'm not seeing it this slow: for me, "svn pl * */*" takes 0.22s real
time for 40 files. (I assume that is calling svn_client_proplist 40 times.)
On the other hand, for a "file://" URL, it is taking more than 1s per file for
me! This is on Linux on a 500 MHz Pentium III. What is your system and test?
May I suggest that, to begin with, we investigate why some things are slow,
before we consider adding a new API function.
- Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 26 01:16:00 2004