| 22 | Detective Work with svn blame |
While working on a programming task, it’s often very useful to find out who most recently changed a particular piece of code. You might find the code hard to understand or have questions about it, or it might just be plain bad code, and you’d like to offer some advice to whoever wrote it.
The Subversion blame command tells you who is responsible for each line in a particular file. You can also use praise, annotate, and ann as synonyms for blame.
When you run the blame command, Subversion goes back through the history of the file and determines who most recently changed each line and when they changed it. In the command-line example on the facing page, we can see that mbench.java has two people who have changed ...