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

Re: retrieving revision properties with svn log

From: Steffen Pingel <steffenp_at_gmx.de>
Date: 2005-03-23 03:48:06 CET


I have hacked a bit on the subversion code in the last few days and
implemented a new switch for svn log called propname. The switch can be used
to include a revision property for each revision in the log, e.g.:

# svn log --propname statcvs:loc --xml
   name="statcvs:loc">+++ hosts.allow
@@ -15,3 +15,4 @@
+++ hosts.deny
@@ -0,0 +1,15 @@

Currently the switch is limited to a single property and only has an effect
when xml output is used. I don't know how to cleanly extend the non-xml
output without breaking things.

Retrieving a property through webdav is also not yet supported because I was
not sure what to change in order to extend the webdav log request to pass the
property name and how to test it.

As explained earlier in the thread, if the patch is applied, it will be
possible to store an additional property that tracks the changed lines of
code for each revision and then to run statistical analysis based the log.


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 Wed Mar 23 03:49:22 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.