Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'Un-SVN' a working copy

I have a folder that is my working copy. How do I remove all SVN functionality from this folder? There is a reason for me doing this, somehow my master folder that contains all my working copies of sites, has somehow been turned into a working copy itself, so I have a working copy within itself as such.

So, is there an easy way of removing version control from a folder?

like image 847
Chris J Allen Avatar asked Oct 08 '08 14:10

Chris J Allen


People also ask

What is svn working copy?

A Subversion working copy is your own private working area, which looks like any other ordinary directory on your system. It contains a COPY of those files which you will have been editing on the website.

How do I find my svn working copy?

The working copy will be located in a directory called trunk on your computer relative to the directory you issued the command in. If you wish to have a different name for your working copy you can add that as a parameter to the end of the command. e.g. This will create a working copy called MyProjectSource .

How do I create a working copy in TortoiseSVN?

Right click on the checked out folder, then use TortoiseSVN → Repo-Browser to bring up the repository browser. Find the sub-folder you would like to add to your working copy, then use Context Menu → Update item to revision....

Is not a working copy svn add?

Probably there's an uncommitted change, e.g., you added some dir/files to svn(but not committed), then accidentally deleted them. then use "svn revert" to revert the changes. after that, you can redo 'svn add' and 'svn ci' now.


1 Answers

svn export is the command you're looking for. You can export a controlled set of files to a non-controlled location and use that.

like image 90
Robert Elwell Avatar answered Oct 08 '22 18:10

Robert Elwell