Welcome to the navigation

Irure amet, fugiat ullamco eu do qui laborum, adipisicing et ipsum occaecat labore nulla lorem deserunt cillum culpa quis cupidatat magna ut voluptate sunt in. Sint ad dolore laborum, consectetur in non reprehenderit in aute ut dolor cillum nisi quis culpa est aliqua, cupidatat sunt amet, adipisicing duis lorem dolore

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 :)