Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get a list of all SVN commits in a repository and who did what to what files?

I'm needing to get a list with all the revisions and files modified in each one, and by who.

Is that possible?

I need to know who user did the most changes to the repo and what changes.

like image 716
Leandro Ardissone Avatar asked Feb 11 '09 22:02

Leandro Ardissone


People also ask

How can I see svn commit history?

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 a file in svn repository?

Check out files from Subversion repositoryIn the Get from Version Control dialog, click Add Repository Location and specify the repository URL. Click Check Out. In the dialog that opens, specify the destination directory where the local copy of the repository files will be created, and click OK.

Which is the svn command to see the list of changes made in a working copy before committing to the repository?

Use svn status command to get the status of the file in the working copy. It displays whether the working copy is modified, or its been added/deleted, or file is not under revision control, etc. 'M' represents that the item has been modified.


2 Answers

In the root of the working copy, type

svn log -v 

This will give you everything. If this is too much then use --limit:

svn log -v --limit 100 

See the log command in the SVN Book.

like image 93
Bennett McElwee Avatar answered Sep 24 '22 00:09

Bennett McElwee


If you're using TortoiseSVN (on windows), then you can use the "Show log" function to see a list of all commits.

In this dialog you can also open some statistics/graphs such as "number of commits per week" (for each user).

like image 35
M4N Avatar answered Sep 20 '22 00:09

M4N