在TFS 2012中重命名分支的后果是什么? [英] What are the consequences of renaming a branch in TFS 2012?
问题描述
我在许多地方都读到,在TFS 2010中重命名分支存在很大问题:您可能会丢失刚刚重命名的分支的历史记录(如本文或此 SO问题)
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 SO question )
我在TFS 2012中找不到关于这些问题的任何提及。在TFS 2012中重命名分支之前,有什么后果我应该注意吗?
I cannot find any mention of those problems in TFS 2012. Are there any consequences I should be aware of before renaming a branch in TFS 2012 ?
推荐答案
重命名分支的最大问题是,下次合并到重命名分支或从重命名分支合并时,您将有效地执行无基础合并。这会引起很多痛苦。
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.
我目前正试图解开这种混乱的局面,这并不令人愉快。 (分支已在4个月前重命名。分支的第一次合并是部分合并),这是我对我最大的敌人(巧合的是将分支重命名并进行部分合并的开发人员不希望的噩梦)
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)
请参阅此答案以获取更多信息
这篇关于在TFS 2012中重命名分支的后果是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!