tags:

views:

54

answers:

3

The title pretty much sums up my question, I would like to find all commits I have ever done to the subversion repository. Not just commits in current snapshot. More importantly, I would like to organize the file lists by the SVN comment used while committing.

Thank you

Edit: I am thinking maybe a python or shell script that would parse the output of

     svn log | grep username

to extract revisions and then pipes the output to

     svn log -r [revision numbers go here]

Maybe some scripting gurus can help me out..

A: 

You can use SVN log and grep for your name.

Assaf Lavie
He'll need to do more than just a simple `svn log | grep username` though if he wants the files lists and commit comments of the revisions and wants them reorganized.
prodigitalson
There's a tool in Subversion's contrib directory to do this.
David M
+1  A: 
Matthieu BROUILLARD
how does the --username switch work, my repository returns all commits by all users
VDev
see my edit, the --username is only there for authentification puposes
Matthieu BROUILLARD
A: 

There's a script contrib/search-svnlog.pl that will do what you want.

Here's a link to the source on Subversion's trunk, but it looks like it hasn't changed in a while:

http://svn.apache.org/repos/asf/subversion/trunk/contrib/client-side/search-svnlog.pl

Here's a patch for a script I wrote, svnlogfilter.pl, that you may need to tease out to use it. I'll put it online somewhere RSN.

http://svn.haxx.se/dev/archive-2005-05/0094.shtml

David M