Onur Dikyar
Onur Dikyar

Reputation:

Is there a special command in the TortoiseSVN menu to clear svn-relation of the directory?

I linked a folder of mine with a Subversion repository. The aim was to sync my home personal folder and office personal folder.

Later on, I gave up.

Now, I want to delete the repository relation of this folder without any harm to content inside. I just want it back to be a standard Windows folder.

I tried searching and deleting all .svn folders on another SVN-releated folder before. But it didn't go well.

I am looking for a command such as "Cancel SVN relation".

Is there something like this?

Possible duplicate: 'Un-SVN' a working copy

Upvotes: 1

Views: 874

Answers (5)

dr. evil
dr. evil

Reputation: 27275

Just F3, .svn delete all found folders. Or even better export

Upvotes: 0

Bert Huijben
Bert Huijben

Reputation: 19622

In TortoiseSVN you can export to the current directory. TortoiseSVN will then remove the .svn directories for you (after you confirm that this is what you want to do).

This is not a standard Subversion function, but it is the easiest way using TortoiseSVN. The recommended practice for all other clients is to export to a new directory.

Upvotes: 1

kgiannakakis
kgiannakakis

Reputation: 104198

Deleting .svn folders should be enough. See this link for a script that it will do the job for you. Copied from there:

FOR /F "tokens=*" %%G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q "%%G"

Upvotes: 0

mike
mike

Reputation:

I usually just delete the hidden .svn folder inside the folder containing the stuff you want to disassociate with SVN.

Upvotes: 0

Daniel A. White
Daniel A. White

Reputation: 191037

Use Export.

Upvotes: 1

Related Questions