log SVN Command

How to use log SVN (Subversion) Command in Linux / Windows?

Explanation


log command is used to get the log messages with date, time and author information attached to revisions and the paths that are changed in each revision.

Usage:

svn log <filename>

Example:

  • Now you can get the status of the files or directories using below command.
    svn log test2.txt
    Output:------------------------------------------------------------------------------------
    r1 | svntest | 2006-01-01 03:01:14 +0530 (Sun, 01 Jan 2006) | 1 line
    update
    r1 - revision information
    svntest - author information
    2006-01-01 03:01:14 +0530 (Sun, 01 Jan 2006) - date and time
    update - log message

    -------------------------------------------------------------------------------------------

Result:


From the above cmd, the log message for the given file 'test2.txt' is obtained.

Ask Questions

Ask Question