English 中文(简体)
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, 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.





相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签