Welcome to the navigation

Laborum, incididunt sed duis officia ad voluptate ut adipisicing consectetur laboris fugiat occaecat excepteur deserunt cillum in in qui eiusmod est aliquip elit, cupidatat proident. Reprehenderit nisi ullamco dolore eu ut laborum, incididunt dolore cillum labore quis nostrud tempor ea lorem non esse dolor aute culpa eiusmod minim in ex

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 :)
Please note that this portal is a BETA site , I will continuously improve all functionality and performance during the coming weeks / the author