Reputation: 123
I've been using AnkhSVN with VS2010 for development of several projects ("solutions"). For a while my commits have been going fine. But recently, Ankhsvn has changed my repository to one of my projects, so that what should be a child project now duplicates the entire repository structure. This has happened on more that one occasion such that the current project I have to check out is located within another project which itself is within another project. I've gone to File -> Subversion -> Change Source Control but the URL can't be edited. When I try using Pending Changes, I get an errmsg about a broken lock on the working copy. Of course I have tried Clean several times. I also tried Switch which I think got me into more trouble. How did the repo get changed in the first place? Any idea what I did wrong (and how to fix) ?
Upvotes: 1
Views: 1301
Reputation: 21615
What probably happen is that the binding path was changed. You can change this by selecting the solution in File -> Subversion -> Change Source Control, and clicking the ...
button. This value is stored in the sln file in the SCC Bindings section.
What happens when checking out the solution, using File -> Open -> Subversion Project, is that it checks out at the level defined by the SCC Binding Path above.
I would also recommend checking out a smaller working copy, because it's much more efficient that way. You're looking to check out at the trunk level (or any branch ofcourse). Checking out above branch means that branching and tagging is suddenly expensive (because each time it happens your working copy grows a lot)
Upvotes: 0