Is it possible to get a list of all files modified/added/deleted by a particular user?
The goal is to get an idea of what a user did for the day (or date range).
svn log then defaults to fetching the history of the directory at its current revision, and thus you don't see the newly committed changes. The solution here is to either update your working copy or explicitly provide a revision number to svn log by using the --revision ( -r ) option.
To find information about the history of a file or directory, use the svn log command. svn log will provide you with a record of who made changes to a file or directory, at what revision it changed, the time and date of that revision, and, if it was provided, the log message that accompanied the commit.
Display the differences between two paths. The ways you can use svn diff are: Use just svn diff'to display local modifications in a working copy. Display the changes made to TARGET s as they are seen in REV between two revisions.
Using the latest versions of Subclipse, you can actually view them without using the cmd prompt. On the file, simply right-click => Team => Switch to another branch/tag/revision.
Here's an example, using the svn log command and linux sed command, with your username, 'blankman':
svn log | sed -n '/blankman/,/-----$/ p'
If you're looking to obtain this information with continual reports, using a project like StatSVN, which Patrick mentioned, is very useful. If you're using Maven, there is a StatSCM plugin which will generate this information on your project site.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With