I am in a situation where we have used a plugin in our project, I am a front end developer so, a guy blamed on me that I have made changes directly inside the plugin code which is obviously a bad practice but I am pretty much sure I didn’t do it.
We are using subversion and Trac for version control etc. The project ( and changes ) are very old almost 2-3 months old. Here is my question, How can I know that how many people and who has edited that one( suspected ) file till date?
There’s a really neat command in Subversion:
This command will show you each and every line in a file, and who changed that line, and in what revision of Subversion where the change took place. You find the line that caused the problem, and you can find the last guy who touched that line.
You can use the
svn logcommand on a file to see who changed that file and when:This will show you the complete history of that one file. You can also use the
--diffparameter to produce a diff output between each of the versions. However, thesvn blamecommand is probably best for what you want.