RE: How to get diff information of a renamed file
>How do I get diff information of a renamed file?
>Say I have a file repos-path/file.txt. I rename it to repos-path/new_file.txt in reversion number 30. How to see the diff information with previous versions?
Svn diff –r 29:30 new_file.txt
Subversion knows the history, so it knows to find the old rev by its old name.
>2ndly, how to see diff information of added and deleted files. In cvs we can use cvs rdiff -r0 -r1.1 file_name for added file and cvs rdiff -r1.3 -r0 for a deleted file. How can I do the >same for Subverison files?
Svn cat file_name :-)
More precisely, if you want to see the contents of a file deleted in rev 30, do “svn cat file_name_at_29”. That says “look for the thing that in rev 29 had name “file_name”.
Received on 2008-09-26 17:29:21 CEST
This is an archived mail posted to the Subversion Users