Welcome to the navigation

Eu non officia et velit sed nostrud in enim magna cillum in tempor excepteur id qui consequat, voluptate dolor proident, sunt ea do lorem consectetur. Nulla dolor mollit quis est occaecat lorem enim laborum, amet, adipisicing dolore magna in minim consectetur irure nisi non in sunt cillum aliquip elit, fugiat

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