How to remove Subversion integration from project

Hello,

what is the best way of removing subversion integration from my project?

I am forced to commit my project into a new repository so I want to have my project clean (no .svn directories, no svn at all). I really don't want to delete all of the .svn directories "manually".

Thank you.

3 comments

You can use "svn export" to get a clean copy (either from your old repository or directly from your working copy).
But honestly most often I do just delete files manually by simply searching all ".svn" in windows explorer from the project root, then deleting all results.
Then of course, you have to do ant/mvn clean to get rid of any build artifacts. (You do use ant or maven, dont' you?)

tomL wrote:

Hello,

what is the best way of removing subversion integration from my project?

I am forced to commit my project into a new repository so I want to have my project clean (no .svn directories, no svn at all). I really don't want to delete all of the .svn directories "manually".

Thank you.

0

If you are on Linux, one command will do it for you:
find . -type d -name .svn -exec rm -rf {} \;

Stephen Friedrich wrote:

You can use "svn export" to get a clean copy (either from your old
repository or directly from your working copy).
But honestly most often I do just delete files manually by simply
searching all ".svn" in windows explorer from the project root, then
deleting all results.
Then of course, you have to do ant/mvn clean to get rid of any build
artifacts. (You do use ant or maven, dont' you?)

tomL wrote:

>> Hello,
>>
>> what is the best way of removing subversion integration from my project?
>>
>> I am forced to commit my project into a new repository so I want to
>> have my project clean (no .svn directories, no svn at all). I really
>> don't want to delete all of the .svn directories "manually".
>>
>> Thank you.

0

As Always there is is a better /simpler way simply open preferences ->version control and remove svn at the project level

Simples

 

 

1

Please sign in to leave a comment.