I have a single Subversion repository containing all my Visual Studio projects. The repository is organized as follows:
repository/
branches/
project1_branch/
...
tags/
project1_tag/
...
trunk/
project1/
project2/
...
When I right-click on a particular solution I have open in Visual Studio 2010 and choose Subversion --> Branch Solution
the default From Folder/URL is the trunk
directory.
How can I create a branch of just the specific solution/project I am working on?
Thanks in advance for your help.
I wonder if AnkhSVN is assuming a slightly different repository folder structure. If I'm not mistaken, the "recommended" structure suggests that a trunk folder represent a given project's stable/current code base, rather than as a folder that aggregates multiple project's trunks. That is, I would expect to see a structure more like:
repository/
project1/
branches/
tags/
trunk/
project2/
branches/
tags/
trunk/
If you look at it from that perspective, the AnkhSVN behavior of branching from trunk makes a bit more sense - it just sees the subdirectories as part of the structure rooted at "trunk," but doesn't know or expect those are discrete projects' trunks.
I would respectfully suggest building a top-level project folder from the repository root for a "test" project, organized as illustrated above, then exercise it through AnkhSVN, and see if perhaps a going-forward change to your repository structure might serve you best over the long term.