views:

26

answers:

2

How to read the commentary of a certain commit version using terminal? Like: svn commit_version read or something similar?

+2  A: 

It's simple:

svn log -c<svn revision> <svn url>

Example Output:

svn log -c 51529 svn+ssh://localhost/svn/project
------------------------------------------------------------------------
r51529 | bubba | 2010-06-29 16:48:49 +0100 (Tue, 29 Jun 2010) | 1 line

checking in for safety reasons
------------------------------------------------------------------------
Petesh
+2  A: 

To read svn commit messages you use the command svn log plus optional parameters.

To get the commit log of a specific revision (r14 for example) you usually run

svn log -r 14

A more detailed description of the svn log command is available in the svn book

You might also want to run the output through a pager

svn log | less
MKroehnert