Find changeset id parent of a branch in tfs

前端 未结 1 724
你的背包
你的背包 2021-01-13 14:39

With TFS, could someone tell me how to find the id of the changeset of the last commit common to 2 branches (or the trunk and a branch)?

It\'s easy to find the id of

1条回答
  •  离开以前
    2021-01-13 15:11

    I wrote a blog post exactly about that: http://netexp.blogspot.com/2012/11/tfs-who-is-father-of-my-branch.html

    In brief:

    1. It can be done via Visual Studio GUI (Track Changeset functionality). You need to track the first changeset in your child branch and then find max changeset in the parent branch (see a screenshot in the blogpost for details).
    2. It can be done via TFS Client API.
    3. You can use a simple command line app I developed.

    0 讨论(0)
提交回复
热议问题