Friday, August 20, 2010

How to unshelve when items are locked in other workspace

Ever faced a problem, where you have been given a shelveset but the owner has locked files in his shelveset.

Here is how you could get those files in your workspace without any issue.

Just execute the below command (put the original values in place of placeholders denoted by <>

tf view /server:<Your Server Name> shelveset:"<ShelvesetName>";<Owner in Domain\UserID format> <Path of item you want to unshelve> > <Path Where you want to copy those files>

For more information you can visit MSDN Documentation