Here is the scenario ... I am also using tortoise SVN ...
I can create a new folder and do a checkout with the "only this item" option ... this will checkout just the top level folder, I can then go into the repo browser and select any subfolder i want to "update to revision" (in the repo browser right click, select update to revision) ... this will bring down only that subfolder ...
Is there a way to remove the folder without removing it from the repository?
If not, my other option is to simply checkout the subprojects individually (this might be the best solution), lets see if anyone has an answer to the above.
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.
In existing posts (see How to "unversion" a file in either svn and/or git) the accepted answer is generally to run svn rm FILE or svn rm --keep-local FILE , and then set the svn:ignore property if desired.
svn directory that you can delete. This will return it to a normal directory which you can clean up. You will need to show hidden files in order to see the .
If you are running Windows then you can do a search on that folder for . svn and that will list them all. Pressing Ctrl + A will select all of them and pressing delete will remove all the 'pesky' Subversion stuff.
I'm a bit late to the game but I've just had the same question and not found a satisfactory answer.
The answer I came up with was to do a full checkout then
ticking make depth sticky then retains this depth over future updates.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With