Although the answer provided is correct, this is an important tip for anyone who might stumble upon this question:
SVN EXPORT has two syntaxes that do different things:
And many people use the first syntax WHEN THEY SHOULD USE 2nd
1. svn export -r 123 svn://rep/file1.txt which is shorthand for: svn export -r 123 svn://rep/ file1.txt@HEAD
What will this team do? First, he will search for a file named "file1.txt" in the current version of HEAD. And once it is found, look at the previous versions of this file and get the contents of the file in revision 123. So, if the original file name in revision 123 was file.txt and later renamed to file1.txt (for example, in revision 133) you will get contents of source file file.txt in revision 123.
Now for the second syntax:
2. svn export svn://rep/ file1.txt@123 which is shorthand for: svn export -r 123 svn://rep/file1.tx t@123
This command tells SVN to search in revision 123 for the file, which was then named file1.txt, but did not touch another file name in any other revision. Therefore, if the original file name in revision 123 was "file1.txt", and later it was renamed to "file2.txt", this command will still provide you with the contents of the original file file1.txt in revision 123
Summarizing:
Use the -r flag if you want to provide a separate revision of the file name and file contents. This is only if your request "SVN provides the contents of the file in revision 123, which is now called" File1.txt ", regardless of what it was called then ..."
Falco source share