What are the consequences of renaming a branch in TFS 2012?

前端 未结 3 1750
遥遥无期
遥遥无期 2021-02-11 18:18

I\'ve read in many places that renaming a branch is rather problematic in TFS 2010 : you may lose the history of the branch you just renamed ( as seen in this article or in this

3条回答
  •  半阙折子戏
    2021-02-11 18:52

    The biggest problem with renaming a branch, is that you will effectively be performing a baseless merge next time you merge to or from the renamed branch. This can cause a lot of pain.

    I'm currently trying to untangle such a mess at the moment and its not pleasant. (Branch was renamed 4 months ago. The first merge from the branch was partial) its a nightmare I wouldn't wish on my worst enemy (who coincidently are the devs who renamed the branch and did the partial merge)

    See this answer for more info

提交回复
热议问题