• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

SVN Problem

suityou01

Potty-trained
Joined
Jan 20, 2009
Messages
21,122
Likes received
773
Thanks received
222
Location
Clown World
Not that familiar with SVN. Got a repo in the clould. Using tortoise.

It has decided to delete an entire folder and sub dirs from the repo after my last commit. No idea why as I didn't delete them on my HDD. They are all there smiling at me with little green ticks next to them, indicating they are in the repo and the repo is up to date?

WTF?

It's like visual source safe, only worse :eek:
 
SVN is great.

So if you go to Repo Browser is it still there? In what way has it deleted an entire folder if you're still seeing it?
 
SVN is great.

So if you go to Repo Browser is it still there? In what way has it deleted an entire folder if you're still seeing it?

Not feeling that right now VM to be honest.

In the repo browser the folder has gone. Since posting I've been frantically dicking about. The current state of affairs is that I unversioned the folder in question and tried adding it back in.

SVN said:
Commit failed.
Directory 'I haven't been deleted what the hell are you doing?' is out of date.
Error '/svn/myproject/!svn/txr/21-q/I haven't been deleted what the hell are you doing?' path not found
Additional errors
Error: DELETE of '/svn/myproject/!svn/txr/21-q/I haven't been deleted what the hell are you doing?': 404 Not Found
Error : You have to update your working copy first

If it is my fault, and I'm more than willing to accept that as I don't really know what I'm doing, then SVN is a cruel mistress. I didn't delete the folder ffs.

So why did it decide to?

Evil software. :mad:
 
You unversioned the folder. I.e. you removed it from the repository.

Make sure you copy it somewhere. Delete the folder from your disk, and then do an update. Then try adding it back.

If all else fails, do a clean checkout of the whole thing, and add your folder back.

It can get into a little bit of a twist at times. But having extensively used SourceSafe, CVS, Mercurial and GIT, SVN would still be my choice.
 
Never heard of this problem in nearly a decade of using SVN. Although when it gets in a pickle it can be a PITA as you're finding out.

Make sure you take a copy of your local folder outside the working dir and try running cleanup.

You could also get better help on the TortoiseSVN mailing list. Good luck.
 
Thanks chaps. I sorted it following your advice.

It still scares the bejayzus out of me.

Hello svn, I'd like to add this new directory. You're ok with that?

Sure suity, delete this random folder, you got it. :oldgit:
 
I assume you're using the latest version, are we on 1.8 now?

One thing - don't automatically trust the overlay icons in Explorer (the little green/red ones).

If you're using Visual Studio, there are great plugins to integrate SVN/Tortoise, these work way better than anything I used in Eclipse/XCode.
 
SVN regularly messes up for me too, but I'm clueless on what I'm doing.

We use Ankh plugin for VS which seems pretty good.
 
It could be worse, current clientco are using TFS, and even VSS for some old legacy applications
 

Advertisers

Back
Top