Right now I have some major code changes that won't be done in time for an upcoming release and need to be shelved. Is there a good way to get these changes out of my workspace but be able to return to them later? Maybe I am missing something, but looks like the changes remain in the workspace even when they are shelved.
Is there a better way to do this? I'd prefer not to create another workspace.
We're using VS 2008 and TFS 2008.
When you shelve the changes, there is a checkbox towards the bottom "Preserve pending changes locally". Uncheck that and it will undo the checkouts on the files as it builds the Shelf.
Also, once a shelf is created you can safely undo the checkouts yourself; Same result but I consider the checkbox a little safer in that it only undoes the checkout on files that you are shelving (so you won't accidentally undo the checkout of a file that you missed or intentionally didn't shelve).