Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Excluded branches showing on TFS branch diagram

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:

enter image description here

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...

like image 935
RMalke Avatar asked Oct 30 '14 16:10

RMalke


People also ask

Can we delete branch in TFS?

Hi, Right Click the Branch and click delete and then do a Check-in.

How do branches work in TFS?

Branching in TFVC uses path-based branches that create a folder structure. When you create a branch, you define a source, usually the main folder, and a target. Then files from the main folder are copied into your branch. As developers work, they are encouraged to forward integrate (FI).


1 Answers

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! It simply won't show on 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

like image 95
RMalke Avatar answered Oct 21 '22 21:10

RMalke