I have a professor that doesn't understand source control very well. He asked us to use comments to determine who wrote each line of code. Most of the class is using email as version control and Visual C++ as the language which leads to a mess of comments, carets and generated code. My group is using subversion and C# and I would prefer to get the history from the repository instead of cluttering the code with comments on every line.
I need a way to generate a viewable history of all checkins which shows how much of the source each user modified.
A format like this would be nice
Andy
/trunk/doc/file.txt (57%)
/trunk/project/app.h (100%)
Brian
/trunk/doc/file.txt (43%)
/trunk/project/app.cpp (60%)
Jeff
/trunk/project/app.cpp (40%)
How would I go about this? Does BASH have enough power to do this or should I use python? (I would generate the diff on a linux system)