Thursday, August 27, 2009

Shelving in TFS

Greetings All

Shelving is one of the improvement and important feature in the TFS compared to old VSS.I have stated here how to use this feature and benefits of shelving



Problem:-

When you have task to work on more than one day you cannot check-in that file in the in progress status as it might get the error while others do get latest/ when we do the release of code to production and test server. Checking in progress (half done task) file creates more issue. But keeping the file without check-in is the risk we are taking on our work in which we may lose the data



Solution

Shelving is the solution for the above stated problem. When u shelve a file it will maintain the file in source safe but when other do get latest/ when we release the code the shelve file is not considered and will be taken only the checked in files



Benefits

Benefit of shelving is the using of source safe without affecting other team member and release work.

You can shelve and pass the code to other for review instead of check in which will ensure the file is not released until review has been done



Using

Using shelving is same as the check-in you just need to right click on file and say shelve and when u are working once again on that u can say Unshelve



Hope the information was useful

No comments:

Post a Comment