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

Recursive update query, fetching properties *and* filesize?

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2007-08-17 12:05:35 CEST

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
Received on Fri Aug 17 12:03:21 2007

This is an archived mail posted to the Subversion Dev mailing list.