Team Foundation Shelve Pending Changes

   

 

All changes made to a Team Foundation repository have to be checked in before they take effect. The "Shelve Pending Changes" action allows you to shelve a set of changes for later use. The shelved changes are called a Shelveset.

 

tfsourcecontrol_shelve

 

Working Folder

 

Specify a working folder for the action. The working folder specifies the context for the Team Foundation server, project and repository (working folders can be configured in Visual Studio or with the Map Working Folder Action.) You can use the default working folder from the Options, or a specific folder for the action.

 

Shelveset Name

 

Specify a name for the shelveset. Click on the drop down to see a list of shelvesets which already exist in the working folder.

 

 

Pending Changes to Shelve

 

You can choose to shelve all pending changes for the workspace, or only changes that belong to certain files or directories. Put each file or directory on a new line.

 

 

tfsourcecontrol_shelveoptions

 

"Remove pending changes from current workspace"

 

If this option is selected, the Shelve operation will remove the shelved changes from the current workspace. The files in the current workspace will be replaced with files from the repository.

 

 

"Replace pre-existing shelveset"

 

Check this option to replace a pre-existing shelveset with the same name. Note that the pre-existing shelveset will be lost.

 

 

Comment

 

Specify a comment for the shelved changes.