Who is responsible?

fronobulax

Developer
Staff member
SVN via NetBeans has a nifty little feature that will annotate lines of code with the user who last committed that line. I'd love to have a way to count lines of code in the current version and see who contributed how much. Since that involves some scripting (AFAIK at the moment) as well as the "count LOC" can of worms, an easy to compute alternative is the number of commits made.

From 04/03/2006 through 02/06/2011 SVN reports 8963 commits/revisions:

shewi 4803
veracity0 3157
jasonharper 718
DoctorRotelle 182
jaadams5 38
rgh42 38
grotfang 23
thefox 4

shewi is hola. jaadams5 is fronobulax and I have no idea who rgh42 and thefox are although there have been no commits since 2006 from either.

SourceForge no longer lists rgh42 or thefox as associated with the project. It lists heffed, kjlopey, macman104 and zaranthos as developers although they have not committed code under those names.

I have no idea how we get revision 9016 with 8963 commits but I would suspect it has something to do with backing out commits or branching and merging, since SVN pretty much increments the revision number when anything changes in the repository.
 
Yeah, I didn't migrate the CVS history (the switch happened specifically because CVS was down). I just submitted what I had as revision 1.

Edit: Also, what you see in NetBeans is presumably just the output of "svn blame [filename]" but nicely color coded. I remember seeing the same thing in SmartSVN, which also shows you the log message on mouseover because it keeps a cache of all the SVN log messages.
 
Last edited:
The NetBeans feature is called Blame. My half hearted pokes at SVN documentation so far had not turned up the command line equivalent but I figured it had to be there.
 
SVN itself calls it blame.

Also, the list commits up there presumably doesn't list commits where all the lines changed in that commit have been changed since.
Like, it will not include any commits that just changed version number, except the last one.
 
Back
Top