how to update existing shelve set in tfs

2020-04-04 22:17发布

My team is using shelving for code review, for X++ code. Which is not a native visual studio language. So you can consider like we storing text files in TFS.

For code developer create a shelve and send it over to the team to reviews it and send feedback. But when the developer address the comments and generates another shelve the comments are lost.

For the reviewer,it becomes difficult if there original comments were addressed or not. The only way is compare 2 shelve code on 2 screen, which is a pain.

1条回答
我命由我不由天
2楼-- · 2020-04-04 22:34

This function is not supported by now.

Visual Studio Team (Product Team, Microsoft) responded · March 11,2015

Thanks for the suggestion! We’re currently in the planning process for enabling an iterative shelveset experience. We’ll update this item when we have more details.

Source: VS UserVoice

If you just want to replace the exist shelvest(will lose comment either), a trick way can be used: create a new shelf with the same name and then confirm "Replace shelveset"

If you want to check the old comment, I suggest you can use Email Alter in TFS. After setting it, you will get a E-mail notification including detail information of the code review. A sample as below:

enter image description here


Updated

Also agreed with Wouter de Kort and Vicky. The biggest advantage of code review in TFS is that you can suspend and resume your work anytime. No need to pay attention to shelvest.

查看更多
登录 后发表回答