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

Re: Get a filelist with some properties for files/directories

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2005-10-07 08:13:13 CEST

On Tuesday 04 October 2005 21:58, Peter N. Lundblad wrote:
> On Tue, 4 Oct 2005, Ph. Marek wrote:
> > I'd need to get a recursive list of files stored in an subversion
> > repository, with *some* properties, ie MD5-sum, svn:special, and
> > suchlike.
> >
> > I know that I can just use an update editor and get the needed
> > information, but AFAIK then I'll get the whole file-data as well - which
> > would be discarded, and make this process unnecessary slow.
> >
> > I believe having read about a status editor, which would probably do what
> > I need. What's the current status for that?
>
> Have you looked at svn_ra_do_status? It won't give you text deltas, but
> all properties. If you want the content for svn:special files, you could
> just request those files with svn_ra_get_file. That's a round-trip per
> file, so if you have many special files, then it'll not be the fastest in
> the world...
Well, all properties is not really the best thing (as discussed lately on this
list), but it'll do.

How about a svn_ra_get_files(int count, char *paths[], ...) function to avoid
many round-trips?

Regards,

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 7 08:14:30 2005

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