Quintin Par
Quintin Par

Reputation: 16263

SVN branches: Delete branch locally, but do not show up as modified

I accidently went and synced up my branches folder resulting in a download of all the branches on my local harddisk (very huge in size)

Now how can I delete the branches locally but not show up in the svn as modified/missing?

I use tortisesvn

Edit:
Doing a system delete on the individual branches will show up missing. I don’t want that

alt text http://img49.imageshack.us/img49/58/svnbranches.png

Upvotes: 4

Views: 3600

Answers (4)

Larry Shatzer
Larry Shatzer

Reputation: 3627

Another option, which I use, is to use sparse directories. In TortoiseSVN use the "Update to Revision..." submenu instead of Update, and set the "Update Depth". Also see this in the TortoiseSVN documentation, when it talks about Checkout depths, which applies to updates (when using "Update to Revision")

Upvotes: 4

Arne Burmeister
Arne Burmeister

Reputation: 20614

You can delete any files and folder on a subversion working copy using the explorer (not using TortoiseSvn Delete!). They will appear again if you do an svn update. To prevent this, do the update on the branch you need only or remove the .svn folder in the upper directory.

Upvotes: 0

Dustin Kendall
Dustin Kendall

Reputation: 520

You can delete (not svn delete but system delete) the branches on your local machine and the subversion server will not know a thing.

To clarify, this would be deleting the highest level folder. You could then redownload specifically what you need.

Upvotes: 0

Maurizio Reginelli
Maurizio Reginelli

Reputation: 3222

Delete the .svn folder into the folder you want to delete. Then simply remove them.

Upvotes: 0

Related Questions