What is Shelving in TFS?

后端 未结 8 1566
太阳男子
太阳男子 2020-12-02 03:42

Is shelving in TFS merely a soft checkin so other team members can see the source code?

i.e. the shelved code will not be compiled right?

相关标签:
8条回答
  • 2020-12-02 04:17

    @JaredPar: Yes you can use Shelvesets for reviews but keep in mind that shelvesets can be overwritten by yourself/others and therefore are not long term stable. Therefore for regulatory relevant reviews you should never use a Shelveset as base but rather a checkin (Changeset). For an informal review it is ok but not for a formal (E.g. FTA relevant) review!

    0 讨论(0)
  • 2020-12-02 04:19

    I come across this all the time, so supplemental information regarding branches:

    If you're working with multiple branches, shelvesets are tied to the specific branch in which you created them. So, if you let a changeset rust on the shelf for too long and have to unshelve to a different branch, then you have to do that with the July release of the power tools.

    tfpt unshelve /migrate
    
    0 讨论(0)
提交回复
热议问题