Reputation: 2581
I branched a team project, then later deleted it through the source control explorer. So now i'm trying to branch parent solution, but i keep getting the error
TF203028: You cannot create a branch at $/ACID/Source because a branch already exists at $/ACID/Source/Acid.Web-branch-selectStyle. If $/ACID/Source/Acid.Web-branch-selectStyle is not a branch convert it back to a folder and retry the operation.
The thing is, this branch does not exist anymore, and so i can't delete or convert its folder. And thus i can't branch my solution at all.
Currently there are no branchs in my solution, not visible through the source control explorer at least.
Any ideas? I'm using VS2013.3
Upvotes: 9
Views: 1735
Reputation: 103
If it's an option for you, deleting the root and then re-creating it allowed me to get around this without having to use the destroy command.
Upvotes: 0
Reputation: 23434
You have not deleted it, only stopped it's history. If you go to Visual Studio | Tools | Settings | Source Control you should see a "View deleted items" option. This will give you an undelete option. However I think you just want to destroy the code so that you can reuse the location.
You can use "tf destroy" to actually remove all history of a source location. Note however that this totally unrecoverable.
Upvotes: 14