How to get info: The Author/his Comments for the last subversion revision via command line?
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开发者_StackOverflow, 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!!!
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
The command is
svn log
The -l [Number] flag is useful, it limits the number of revisions you're shown.
I believe svn log is what you are looking for. Also, svn info for more information.
精彩评论