You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Ph. Marek" <ph...@bmlv.gv.at> on 2007/08/17 10:05:35 UTC

Recursive update query, fetching properties *and* filesize?

Hello everybody,

currently I use the function svn_ra_do_status() to see which entries would get 
updated. That works fine; I get the properties, it runs recursively, and all 
is happy.

Now I'd need to know the filesize of entries. My first thought was to store 
them as a property; but as they're already available via svn_dirent_t.size 
I'd like to use that.

My problem is that
- svn_ra_get_dir2() cannot run recursively and doesn't return properties (like
  the text-MD5, and user-defined properties), and
- svn_ra_do_status() doesn't give the file size.

So I'd have to ask for each directory separatly, which could take many 
round-trips ...


How are my chances that 1.5 (or some other version) includes a 
svn_ra_do_status2(), that somehow passes svn_dirent_t structures to some 
function (would mean changing the svn_delta_editor_t interface), or can 
return the size in some additional property, eg. "svn:text-size"?

Or are there better ideas how I could get that information?



Regards,

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org