Sometime we need to view an older version of a file in SVN. Here are two approaches which can be used.
Using svn cat
To view an older version of a file using the following command
$ svn cat -r5099 filename
If the file is a binary file, you may want to redirect outcome to some file.
Using svn update
Svn update can be used to update the file to a specific revision.
$ svn update -r5099 filename
Note once you have viewed the file, you can update to file to latest revision using
$ svn update filename