开发者

Hide changesets from merge dialogs in TFS 2008 (2010)?

When merging from one branch to another, we can see which changesets are present in one branch, and yet not merged over to the other.

Some of these changesets aren't supposed to be merged. Is it possible to hide these?

Or do we just have to edit the changeset comments to include a prefix, like "NOMERGE:", to visually filter them out?

The reason I ask is th开发者_StackOverflowat from time to time a developer forgets to merge changes that were supposed to be merged, and it's a bit hard to find these in a forest of other changesets.


You can use the TF MERGE /DISCARD option

http://blogs.msdn.com/b/mohamedg/archive/2009/03/09/how-to-use-tf-merge-discard.aspx


This is a strange question, why are some changesets not supposed to be merged and how do you determine those. If you are doing selective merges to me it looks like the branches are not created properly. I don't think you can hide changesets using Visual Studio. Using TF.exe command line application however you can find out what changesets are candidates in a merge and then merge individual changesets selectively see http://msdn.microsoft.com/en-us/library/bd6dxhfy.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜