How do I associate a review request with multiple changesets in TFS 2012

前端 未结 4 936
鱼传尺愫
鱼传尺愫 2021-02-02 08:58

Our development process works like this: Every 2 weeks the team lead (me) goes in and reviews everyone\'s changesets to make sure they are up to the coding standards. I would li

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-02 09:25

    Option #3

    [I'm assuming here that the changesets that your are trying to associate to a single code review are consecutive, for example 20001:20010]

    1. I "roll[ed] back to a specific changeset" (in my example above 20001). I check it in the changes. The code is now in its original state.

    2. Then, I "roll[ed] back to a specific changeset" (in my example above 20010) and check it in again. The code is now in its final state.

    3. Finally, I request a review on the latest revision. This review compares the latest two commits - the ones I created from the rollback.

    As a bonus you can compare specific changesets in the history page. You can use this compare to make sure that the commits above did in fact revert the code to revision 20001 and 20010.

提交回复
热议问题