I love using TortoiseSVN for easy source control on Windows, but on my Vista build (still RC) I’ve had a few instances of blue screen during commits, which is bad. In the last case, my repository got a little mangled, and I couldn’t do anything with it without the error “object of the same name is already scheduled for addition” appearing and aborting the operation.
The trick seems to be to do a revert operation on the directory, then an update. You may need to rename the original files/directories that are having a problem, and then diff/merge them back into whatever comes up, depending on what state the repository was in during the crash.
Then you might want to upgrade your OS and TortoiseSVN to the latest versions, and let me know how that works out for you - I see a day not far off where I’ll be like those people still running MacOS 9 when X has been around for years…
Technorati Tags: Subversion, TortoiseSVN
Barry | 04-Jul-07 at 12:05 pm | Permalink
Same thing happened me just now, a commit died halfway through and committed files were marked as ‘new’ in my local repo. This fixed it, thanks!
Simon Francesco | 10-Jul-07 at 6:13 pm | Permalink
Hi Jason,
Thanks for that. Very useful. Can I add another symptom so that others might find this fix more easily.
I had done a working copy add, then stupidly did an OS delete, leaving the working copy with an addition entry but no folder left to commit.
I was getting an error on commit of “Directory containing working copy admin area is missing”.
Another symptom was that is I copied or created a replacement folder in the OS to try to fix the issue, I would briefly get the yellow exclamation warning icon on the folder.
Anyway your suggestion of reverting the parent folder worked a charm.
James | 04-Sep-07 at 4:15 am | Permalink
cheers, worked great
Ashley | 19-Oct-07 at 3:00 am | Permalink
brilliant, just what i needed, thanks a lot.
Yatin | 09-Jan-08 at 10:40 am | Permalink
Thanks….works great…
Gaurav | 08-Feb-08 at 3:40 am | Permalink
This works fine with me too.. Thanx.
Jim | 08-Feb-08 at 7:57 pm | Permalink
Excellent advice, worked for us too!
Ivan | 18-Feb-08 at 8:19 am | Permalink
Thanks a lot
Jonathan | 20-Feb-08 at 4:58 pm | Permalink
I guess Feb. ‘08 is the big month for this. It worked, easily. I think thats the first easy solution to a problem I’ve experienced in a while. Thanks.
fero | 09-Apr-08 at 11:13 am | Permalink
It worked wonderfully thanks !
Bill | 02-Jun-08 at 11:24 am | Permalink
Thanks for this tip, this had me blocked on one machine for several weeks
Demian | 03-Jun-08 at 3:15 pm | Permalink
Thanks! it worked fine!!