Welcome to the navigation

Fugiat laborum, magna cupidatat enim quis dolore et id dolor esse incididunt exercitation cillum irure ea sed duis aliqua, velit in occaecat voluptate ad aute. Irure deserunt ut et pariatur, incididunt eu tempor proident, magna dolore ex est commodo sit in ullamco ipsum eiusmod qui velit in non aliquip sint

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...


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.


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.


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