SVN revert
Wednesday, June 23rd, 2010At some point I plan to install svn (or even git) on my web space. We use svn at work and the applications there are far more complicated than anything I’ll build at home. Prior to our server rebuild we could rebuild the model in symfony, and because of some magical settings which have yet to be explained to me, none of the modified files from the model rebuild would appear when performing an svn st.
Since the new server, many plugin and lib files appear during a svn st which can make it difficult to see changed files which need a commit.
To resolve this, you can run the following command svn –depth infinity revert lib. Make sure you specify the specific directory or file, otherwise you may find other local changes reverting back too (oops)!

