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

Feature request: new function svn_ra_get_dir3() or svn_ra_do_status3()

From: Philipp Marek <philipp_at_marek.priv.at>
Date: Sat, 13 Sep 2008 17:37:12 +0200

Hello everybody,

I have a need to get all entries in the repository, starting from a certain
directory recursively downwards; I need the properties of the items, their
size and their type (file/directory; special can be seen from the
properties).

My problem is that I currently do a svn_ra_do_status() to get all items and
their properties; but to get their sizes I have to use svn_ra_get_dir2()
recursively, which has many roundtrips.

I'd like to ask for a new function svn_ra_get_dir3() that includes a flag to
return the properties of the directory items, too, and possibly a way to work
recursively, to avoid roundtrips and latency.

The other idea would be to extend svn_ra_do_status2(), to optionally include
the size as a new parameter to the callback; this would be a bit cleaner, I
think.

Any ideas?
Should I file an issue?

Regards,

Phil

-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-13 17:37:17 CEST

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.