Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN - Retrieving Useful Information

Tags:

svn

We are using Subversion. We would like to

1. search across all commit messages ?
2. monitor the commits on certain important files ?
3. identify files that are never/rarely used ?
4. identify files that are most frequently changed ?         
5. identify files that most developers have accessed ?
6. identify files that have been committed together many number of times ?

The usage of these data could be to weed out messages like these, to refactor code and clean up the project of unused files.

Please suggest tools to achieve the same..

EDIT: We run SVN on Windows 2003.

like image 820
Vijay Dev Avatar asked Nov 02 '08 10:11

Vijay Dev


People also ask

How do I find svn info?

There are two options available to get informatioon about past revisions: svn log -r <rev number> <url> : the commit message of a specified revision and url. svn info -r <rev number> <url> : some technical information about a specified revision and url.

What does svn info do?

The svn info and svn log commands provide useful information about a given repository. They are both executed on the command line somewhere within the directory of the locally checked out repository. The svn info command may be invoked offline with no network connection to the Subversion server.


1 Answers

StatSVN should be able to do the majority of that for you. You'll need to set up a scheduled task to run it over your repository, however, or you can integrate it into an Ant build if you happen to use that.

Some of the more complex tasks, such as number 6 in your list, will probably require a custom solution, however. Alternatively, as StatSVN is open source, you could make the required changes to that and submit them back to the project.

like image 164
alastairs Avatar answered Nov 11 '22 22:11

alastairs