svn diff including annotate/blame-alike information of when changes where made by who
- by Wouter Coekaerts
Can you add annotate/blame-alike information to svn diff, so that for every changed line it includes which user and revision changed that line?
For example, an annotate-diff comparing revisions 8-10 could output something like:
9 user1 - some line that user1 deleted in revision 9
10 user2 + some line that user2 added in revision 10
The context, lines around it which haven't changed, may be included as well or not, doesn't matter.
It's not just a matter of "quickly" writing a shell script combining the output of svn diff and svn annotate. annotate for example will never show you who removed a line. It's also not a matter of doing annotate on a revision in the past: We're not interested in who originally added the line that got removed (that's not the one who "caused" the diff), we want to know who removed it.
I suspect the only way to implement something to do this is to inspect each and every commit between the two revisions being compared (and somehow map all the changes in the separate diffs to lines in the total diff)...
Does there exist a tool that does something like that?