I need to download a shelveset from TFS to a local folder. Is there any tools or add-in for Visual studio 2010 to download shelveset
To shelve your current pending changes, right click the project, Shelve, add a shelve name. This will save (or Shelve) the changes to the server (no-one will see them) You then do Undo Pending Changes to revert your code back to the last check-in point.
To unshelve the shelveset from someone else you go to Team Explorer -> Pending Changes. You then select the Action link next to Shelve and select Find Shelvesets. By default, you'll now see the shelvesets that are found for your user account.
You can perform the unshelve and merge together by using the tfpt unshelve command from a Visual Studio command prompt. Make sure your active directory is a directory that is mapped to your local workspace otherwise you may see "Unable to identify workspace".
If you just need to get the files from the shelveset to your local folder, this is a normal process and called Unshelve. It downloads the files to your local folder.
For example, before unshelve you had the following in your local folder:
- File 1
- File 2
The shelveset has:
- File 1 (Modified)
- File 3 (Created)
After unshelve there will be:
- File 1 (Updated)
- File 2
- File 3 (Added)
If you need to have only the files from the shelveset in your workspace folder without anything else, one of the ways would be:
You can find more about managing shelvesets here: Suspend Your Work and Manage Your Shelvesets (MSDN)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With