Art Of Eclipse

« Home » « About » « Github »

svn merge and rolling back your changes.

To revert the changes you make to a project/files and reset the changes to a specific revision all what you have to do is the following :

svn merge -rHEAD:oldrev filename
svn commit -m "rolled back to oldrev"

Remove .svn folder

If you have an svn repo and you want to remove .svn folders from it you can use one of tow options :

find . -name .svn -print0 | xargs -0 rm -rf 

or you can just use export to create project folder without the .svn folder :

svn export [-r REV] [PATH]