How to: Edit Labels
In Team Foundation source control, a label is a name applied to a specific set of revisions, which are also known as a snapshot build. For more information, see How to: Apply Labels. Team Foundation source control includes functionality for editing these labels as described in the following procedure.
Required Permissions
To perform these procedures, you must own the label or have the Administer shelved changes permission set to Allow. For more information, see Team Foundation Server Permissions.
To edit labels
Locate the label you wish to edit. For more information, see How to: Find Labels.
Select the labeled changeset you want to edit, and click Edit.
In the Edit Label dialog box, add any notes in the Comment text box.
In the Items listing, select the items in the changeset you want to edit, click Edit.
Use the Items of type list to filter on the type you want.
In the Items list, highlight items you want to edit in the changeset and click OK.
To edit a label from the command line
Click Start, click All Programs and point to Microsoft Visual Studio 2005.
Point to Visual Studio Tools and then click Visual Studio Command Prompt.
Type cd path, where path is the directory containing the applicable workspace.
Type tf label mylabel path /recursive.
This command attaches the "mylabel" label to an existing label in the workspace version of the "path" folder and all of the files and folders it contains.
Note For a complete listing of the syntax for the label command, see Label Command (Team Foundation Source Control).
See Also
Reference
Label Command (Team Foundation Source Control)