I have wrote yesterday about deleting orphaned branch directly from DB. But thanks to Martin Kulov and Buck Hodges the solution of this problem can be performed using Visual Studio .NET 2010.
Here is the problem:
According to the Basic Branching Plan (http://tfsbranchingguideiii.codeplex.com/) sometimes you need to delete a branch.
But what happens.. in Branch Hierarchy View a branch still exists and makes a confusion to you and your colleagues.
In the next image is situation when you have made branch from DEV to MAIN instead the opposite way. Well the steps I’ve performed was:
But the situation was as is shown here (DEV_2 branch still exists):
Here is the solution:
5. Make Check In, and the relation to orphaned branch is disappeared. After that you can delete whole folder if you want etc…etc..
See you real soon !!
Latek
Thanks Latek,
This really helped us solving our problem :)
Step #4: Best comment and step I've found in a while!
Thank you. Solved our -CURRENT- Tfs problems.
Thanks for this, never even knew deleted branches weren't actually deleted! :)
Wow.. saved an hour for me.. worked perfectly. thanks
Thanks!
You made my day.
This didn't work for me! I followed the steps but still see deleted folders in source control.
Could this be due to permissions?
Thank you a lot! F.. MS usability.
"File > Source Control > Branching and merging > CONVERT TO FOLDER"
Thanks Latek!!!
I read your post..It is really knowledgeable.I appreciate your work.