SVN how to remove local copy only?

farinspace picture farinspace · Jul 23, 2010 · Viewed 13.7k times · Source

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.

Answer

alwaysmpe picture alwaysmpe · Mar 8, 2017

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

  1. update to revision...
  2. update depth -> choose items...
  3. untick any items you don't want.

ticking make depth sticky then retains this depth over future updates.