Excluded branches showing on TFS branch diagram

2019-04-09 11:43发布

问题:

I am using TFS2010, through VS2013, and when I go to my master branch, Branching and Merging > View Hierarchy. It shows up some deleted branches. They were excluded by myself long ago, but I can't remove them from diagram.

Here are the hierarchy view:

I already tried to remove all the checkouts from all the collaborators through TFS Sidekicks, but without any luck. I tried to Google it, and also tried other questions here, including this one, which I have replied but does not apply to the same problem...

回答1:

I am yet to find a proper solution to this problem, but I could find an work-around... That is, convert the deleted branch to a folder! Is simply don't show in the hierarchy after that.

In VS Source Control Explorer:

  1. Click the Show Delete Branches icon
  2. Find and Right-Click the deleted branch in the Tree
  3. Select Branching and Merging > Convert to Folder
  4. Done, the branch is no longer in the hierarchy

Found it in the answers to this question