views:

123

answers:

4

I would like to analyze and document one of our svn repositories. I am looking for the best tool that will make a report based on the log of the svn repository for each revision number tag, branch, etc. Is there any free/paid tool available for this?

+1  A: 

G'day,

You might like to check out the "Best SVN Tools" question.

Rob Wells
+1  A: 

You can dump the commit log data in an XML file and then process it further with XSLT to generate a report:

svn log --XML -v -g http://example.com/repo > commit-log.xml
Wim Coenen
+2  A: 

With TortoiseSVN you can create a sparse checkout of the entire repository, then right-click the working copy folder and click Revision graph to get a graphical representation.

Wim Coenen
+3  A: 

Have you considered StatSVN? From their site:

StatSVN retrieves information from a Subversion repository and generates various tables and charts describing the project development

It includes reports for things like:

  • Timeline for the lines of code
  • Lines of code for each developer
  • Repository Tags Number of LOC per version.
  • Repository tree with file count and lines of code
  • Evolution of LOC and the amount of change per day


Another worth considering is svnplot which reads statistics on the SVN repo into an SQLite database for analysis. It generates various statistics on its own, but also allows you to make custom queries against the database.

Tim Henigan