Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I unversion a folder

I'm trying to figure out how to unversion the bin and obj files in my porject and I'm struggling.

I've found various instructions telling me to export the files onto themselves but that just ends up with the folders being "obstructed" in TSVN's 'view mods' screen, and it locks up the whole check out - I get errors saying that ..../bin is not a working copy.

I also at one point just deleted the folders from the repos but the when they get re-created in the next build they show up as the ? symbol which is kinda annoying.

Help?

like image 798
Brondahl Avatar asked Mar 11 '11 09:03

Brondahl


3 Answers

In the latest SVN (1.7.10), if you have TortoiseSVN Installed (1.7.13), there is an option in the right click menu, "Unversion and Add to ignore list".

enter image description here

This really ads the files/folders to ignore list. The hidden .svn folder still exists in the folder. Note that you have to execute commit after this action, which asks to delete these files but they are only unversioned.

like image 75
Hammad Khan Avatar answered Sep 25 '22 06:09

Hammad Khan


Add them to the svn ignore list. Instructions can be found here

And perhaps just read this question solution

like image 41
Sebastian Zaklada Avatar answered Sep 26 '22 06:09

Sebastian Zaklada


Go to TortoiseSVN Settings / General and add bin obj to 'Global ignore pattern' - it will exclude all your bin and obj folders. You can add certain file extensions, ie. *.suo

like image 33
Jakub Konecki Avatar answered Sep 23 '22 06:09

Jakub Konecki