TFS Branch refused to go

2019-05-03 10:19发布

问题:

We are on TFS 2010 and clients being used are VS 2008, VS 2010 and VS 2012.

I use the VS 2010 feature to view TFS hierarchy feature to visualize my TFS branch setup and maintain it.

Question, is that once the work on a branch is complete, I right click and 'Delete' it. After deletion, if I open hierarchy visualization again, sometimes branch box gets removed from the visualization as expected, but sometimes, even though the branch is deleted, it refused to go away from the visualization. Why is it suck, and how can I remove the deleted branch from the visualization?

回答1:

In source control explorer there is an option to Show / Hide deleted items. Using standard methods, it's not really possible to actually delete anything in TFS, just flag it as deleted.

If you REALLY want to get rid of the files then you should use destroy.