Export (0) Print
Expand All

Using Source Control Explorer (Team Explorer Everywhere)

Visual Studio 2010

You can use Source Control Explorer to view and manage Team Foundation version control objects such as team projects, folders, and files.

Required Permissions

To perform these procedures, you must be a member of the Team Foundation Valid Users security group and you must have the Read permission set to Allow. For more information, see the following topic on the Microsoft Web site: Team Foundation Server Permissions.

Task

Supporting Content

Browse and view version-controlled items: You can browse team projects and workspaces to identify what is under Team Foundation version control. You can determine whether items are copied to your local computer’s Eclipse workspace. You can view all pending changes. For each version-controlled item, you can view properties and history that is associated with that item.

Get versions of files or folders: You can determine whether you have the latest version of an item copied to your local Team Foundation Server workspace. You can get the latest version of an item, or you can get a specific version. You can get a version of a file as it existed on a specific date, with a specific label, in a specific changeset, or in a specific Team Foundation Server workspace.

Make code changes: You can check out files or folders to make a code change. After you have made changes, you can check in those pending changes, resolving any conflicts that occur. If you need to set aside your work, you can shelve items. If you want to discard changes, you can undo pending changes.

Organize and manage versions of items: You can delete, undelete, move, and rename files and folders. You can control access to files and folders by locking and unlocking them. You can compare versions of files or folders. You can apply labels to changesets to define a group of files that should be together, such as the state of the code when you release a version of your application. You can branch and merge version control team projects, files, and folders.

You can also perform many Team Foundation version control tasks from a command prompt. For more information, see the following topic on the Microsoft Web site: Team Foundation Version Control Command-Line Reference.

To open Source Control Explorer from Team Explorer

  • In Team Explorer, expand the team project that you want to view, and double-click the Source Control node.

    For information about how to open Team Explorer, see Open Team Explorer.

You might need to refresh your version control information periodically. For example, if you make changes by using the Cross-platform Command-Line Client for Team Foundation Server, you must refresh Source Control Explorer before it will reflect those changes.

To refresh version control status

  1. Open Source Control Explorer. For more information, see Open Source Control Explorer.

  2. Right-click in Source Control Explorer and click Refresh. You can also press F5.

    Source Control Explorer is refreshed with the latest status.

Team Foundation version control properties include general file and folder information, pending check-in status, and branching history.

NoteNote

You cannot view Team Foundation version control properties in the Eclipse Properties window. You view those properties in their own Properties dialog box, as described in the following procedure.

To view version control properties for one or more items

  1. Open Source Control Explorer. For more information, see Open Source Control Explorer.

  2. Browse to the file or folder for which you want to view properties, right-click it, and click Properties.

  3. When you have finished viewing properties, click OK.

Community Additions

ADD
Show:
© 2014 Microsoft