Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List all files changed by a particular user in subversion

Tags:

svn

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).

like image 233
Blankman Avatar asked Dec 04 '08 16:12

Blankman


People also ask

How do you find changed files in svn?

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.

How do I view a specific revision in svn?

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.

How do I find my svn diff?

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.

How can I get previous revision from svn?

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.


1 Answers

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.

like image 109
shek Avatar answered Oct 04 '22 16:10

shek