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

retrieving revision properties with svn log

From: Steffen Pingel <steffenp_at_gmx.de>
Date: 2005-03-14 20:21:19 CET


I am looking for a possible solutions to implementing subversion support for
StatCvs (http://statcvs-xml.berlios.de). StatCvs generates statistics based
on the cvs log that contains the number of added and removed lines per

I think adding a commit hook that calculates the line deltas for each file
using 'svn diff' and storing them in an unversioned property is not a big

The problem is retrieving a property for each revision later on, in order to
analyze them. As far as I understand the "svn propget --revprop -r x" call,
it is only possible to retrieve a single value at a time. Whereas I would
like to get the value for all revisions with a single call (something like
"svn propget --revprop -r x:y").

The better solution however would be to include the properties in the "svn
log" output as StatCvs needs the log output anyways.

Maybe a switch could be added to "svn log" command like "--props foo,bar" to
include a set of properties in the output.

Before I start hacking the code I would like to know if anybody can think of a
better way to store and retrieve values for each revision?


PS: This problem has been discuessed before without a solution:

Steffen Pingel - steffenp_at_gmx.de - http://steffenpingel.de
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 14 20:22:38 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.