Reverting a file back to a previous revision with SVN
![Reverting a file back to a previous revision with SVN](https://res.cloudinary.com/audiodog/image/upload/w_640,h_155,c_scale,f_auto,q_auto/v1513806711/images/site/blog_banner_light.png)
svn revert only reverts uncommitted modifications made to a file in your local working copy.
If you want to time travel a file back to previous revisions you use svn merge
svn merge -r:
eg revert file foo.php to revision 100:
svn merge -r HEAD:100 foo.php