Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove SVN from a folder [duplicate]

Tags:

svn

Possible Duplicate:
How do you remove Subversion control for a folder?

If I want to take a folder that was under Subversion and remove all links to Subversion, do I just delete the .svn folders and that's it? What else do I have to consider?

like image 472
PositiveGuy Avatar asked Jul 31 '09 18:07

PositiveGuy


People also ask

How do I delete everything from SVN?

To remove a file from a Subversion repository, change to the directory with its working copy and run the following command: svn delete file… Similarly, to remove a directory and all files that are in it, type: svn delete directory…

How do I delete a local SVN repository?

Right click the any folder and choose TortoiseSVN -> Repo Browser. Then point to your local repository in the URL field. Once open you could be able to browse the repo, and with a right click, delete the folder.

How do I delete a .SVN folder recursively?

The find command returns a list of all the subfolders matching “. svn”, and this is then piped to the rm command to recursively delete the directory. Running rm using the full path will remove the confirmation prompt, and the “rf” arguments will recursively delete any folder contents.


1 Answers

No, you just have to search for all .svn folders and delete them. Alternatively, doing a svn export allows you to get the folder without the svn folders.

like image 98
Valentin Rocher Avatar answered Sep 26 '22 09:09

Valentin Rocher