Yesterday I needed to determine who last edited portions of a file with subversion, and came across a couple great suggestions on stack overflow which I’d like to share here.
Subversion offer a few ways to perform this task, including the following two methods I learned yesterday;
1. The first method returns the log of previous revisions on the file and is ideal when you need to review a more detailed change log.
svn log --diff filename
2. The second method is more concise, and only provides the revision number and author name for the last change to a specific file’s line. This approach is performed with the aptly named subcommand blame.
svn blame filename