[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: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-10-04 21:58:57 CEST

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...

HOpe this helps,

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 4 22:00:53 2005

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.