views:

196

answers:

4

I can't seem to find this one!

So say someone like "Joe" (the Author) submits his code into the svn repository with the message "Fixed this bug and that bug yada yada" (his Comments).

I'd like to get, via the svn.exe command line, the Author and his Comments for the latest revision. Maybe someone can tell me what arguments I could use to achieve this?? Thanks!!!

A: 

I believe svn log is what you are looking for. Also, svn info for more information.

cschol
+1  A: 

The command is

svn log

The -l [Number] flag is useful, it limits the number of revisions you're shown.

stimms
A: 

I found it, Thanks!

svn log svn://localhost/whatever --xml -l 1

snoopy
+1  A: 

The following command will show you information on the latest commit to the svn repository (revision, contributor, date and time, and message):
svn log [PATH] -r HEAD

If you want to find the last commit for the given path/project/file then:
svn log [PATH] -l 1

artdanil