Welcome to the navigation

Sint aliquip excepteur qui in elit, ipsum nulla est quis commodo laboris lorem enim laborum, duis sed eu aliqua, irure anim ut eiusmod velit ea. Qui eiusmod nisi esse commodo et ipsum cupidatat officia excepteur laborum, dolor minim pariatur, aliquip nulla occaecat magna ut amet, culpa fugiat nostrud ex exercitation

Yeah, this will be replaced... But please enjoy the search!

Remove svn settings and folders from Client

Categories Tags
Sometimes the Subversion (svn) properties or synchronization data really messes up. This usually depends on some clients. In my case for instance, I use NetBeans and it can really make things go fubar sometimes. And it seems to make no difference using Mac OS or Linux, it messes up sometimes anyway. Well, there may be less unhappy reasons to remove svn settings from your development machines, you might want to switch to git or similar. Whatevs...

First

Backup all your projects and data before running any of these commands. If done properly no project data will be removed by using this guide, only the LOCAL subversion settings.

Second

Fire up a terminal and navigate to the folder where you keep your projects, or to the specific project folder. Example
$ cd ~/NetBeansProjects
Run this command
$ find . -type d -name .svn

What is it?

Subversion settings are kept in hidden folders, the command above can list ALOT of entries. Anything listed by this command will be deleted if you run the command below.

Third

Now, if you are certain you want to remove all local svn data/settings
$ find . -type d -name .svn -exec rm -rf {} \;
This will remove all entries with a .svn folder, if successful it will try to list it but fail echoing "No such file or directory" after each line. If you're not allowed to remove the data, add sudo
$ sudo find . -type d -name .svn -exec rm -rf {} \;
Be safe and have fun :)