svn  commands  revision 

Most used svn commands

To copy the previous revision file

svn copy -r 4 module/Notes/src/Model/NotesRepository.php /tmp/copyfile/

r = revision number and path of the file in the working directory

/tmp/copyfile/ = path to save the directory.

copy the diff between two files in a text file

svn log --diff module/Notes/src/Model/NotesRepository.php > log.txt

module/Notes/src/Model/NotesRepository.php = path to file
log.txt = file name to store the data