AnkhSVN: Cannot checkout Subsolution due to existing "versioned" folder
Posted
by lostiniceland
on Stack Overflow
See other posts from Stack Overflow
or by lostiniceland
Published on 2010-05-06T14:42:57Z
Indexed on
2010/05/06
15:08 UTC
Read the original article
Hit count: 283
Hello Everyone
I am using Subversion since quite some time for Java-Development and I have setup a repository on my local NAS. Since I have a MSDN subscription via my company I recently installed Visual Studio 2010 to do a small project with .NET.
According to some "best-practices" my project folder looks like the following.
MySolution
main.sln
Services
services.sln
Service A
files
Service A Test
files
View
projectfiles
Persistence
persistence.sln
PersistenceXml
files
PersistenceXml Test
files
PersistenceDB
files
PersistenceDB Test
files
The idea is, that the main.sln only contains the projects for the application, meaning no test projects. The subsolutions, contain the project(s) and their corresponding testprojects. I was able to put all those projects under versioncontrol with AnkhSVN, so I have the same structure there in my trunk. Commiting changes was also no problem.
Now I would like to check the this out on another machine. I was able to check out the main.sln which downloaded everything that was inside this solution. It skipped the services.sln, persistence.sln and all the test-projects. Until now everything is fine.
Now, here comes the problem: when I am tryting to check out the subsolution (eg. services.sln) I get an error, I think it was UnsupportedOperation. I guess this happens because ankhsvn is tryting to download the folder Service A again and create ist hidden .svn folder which is already present. The only workaround I can think of by now is installing Tortoise SVN and check out the whole thing at once. It would be nicer though to have everything from within VS.
Does anyone know how I can solve this? Is another client the only solution?
© Stack Overflow or respective owner