Game Development Community

Messing with my SVN repository

by Daniel Buckmaster · in Torque Game Engine · 08/24/2008 (1:22 pm) · 4 replies

Okay, this isn't a Torque question per se, but I'm using SVN for my Torque project.
Somehow, my example directory got added to the reporitory last time I committed. I have no idea how, and have no recollection of ever adding the directory. But added it is. And I don't want it to be. I want to work on my example directory independently of my code. So how do I get rid of it? I don't want to just delete is; it's got quite a bit of work that I don't want to have to redo. I've tried copying the directory somewhere else, but the little green ticks go with it! It's a nightmare!

About the author

Studying mechatronic engineering and computer science at the University of Sydney. Game development is probably my most time-consuming hobby!


#1
08/24/2008 (2:24 pm)
I believe you need to do an SVN Export.
#2
08/24/2008 (2:44 pm)
Don't do an export. Well if you do an export of that folder from your repository you can get a copy of it without the .svn folders, then you can svn-delete one under version control, do a commit, then copy the un-versioned folder(s) into place.

But here's an easier way, i'm assuming you are using tortoise svn. There is an option to delete (keep local) in the right click svn menu, well you need to hold down shift when you right click to get the "expanded" list that has that option.
#3
08/25/2008 (7:49 am)
I am using TortoiseSVN, sorry, I should have mentioned that. I tried shift-right-click, but the menu doesn't seem any different from usual... crtl-right-click shows a menu with less options, and alt, of course, just highlights the window menu bar.
I clicked on 'delete' anyway after shift-right-click, and it gives me the usual warning that there are unversioned files in the directory, do I want to delete anyway? I assume there was supposed to be something else...

Peter - thanks, I'll try that if I can't get James's idea working :P
#4
08/25/2008 (10:52 am)
You must not have the most recent version of TSVN installed.