Search code examples
svnbatch-filediffrevision

svn command to show file revisions while getting differences between two tags


I want the differences between two tags lets say HEAD and UAT_1.

The command svn diff URL1 URL2 would give all the file differences but the revision number that it gets for each file would be the revision of the directory.

Is there any way that I can get the latest revision number of the file that is shown as difference that is in the repository and not the directory revision.


Solution

  • svn info [TARGET] (with full path to file): Last Changed Rev string

    svn info
    Print information about each TARGET
    

    You have to get only list of TARGETS (from sv diff)