Feb 142015

The easiest way to find out which files were modified, added or deleted in a given revisionĀ of a subversion repository is using the “svn log” command with the “verbose” switch:

svn log --verbose -r <revision_number>
for instance:

$ svn log --verbose -r 91
r91 | openalfa | 2015-01-03 17:47:06 +0000 (Sat, 03 Jan 2015) | 1 line
Changed paths:
 M /.htaccess
 M /wp-config.php

Fix header and other minor improvements

As can be seen, this command also displays the date of the revision, and the commit message that was attached to it.

If we want to get just the list of files modified without any additional information, we can use the “svn diff” command with the “summarize” switch:

svn diff --summarize -r<revision_number>:<revision_number - 1>
for instance:

$ svn diff --summarize -r91:90
M       wp-config.php
M       .htaccess

 Posted by at 5:37 pm

 Leave a Reply