Export (0) Print
Expand All

Retrieve Previous Versions of Files from Changesets

Team Foundation version control retains historical data associated with changesets. The details associated with a changeset are accessed from either the Find Changesets window or from the History window and presented in the Details for Changeset window, as described in the following procedures.

Required Permissions

To perform these procedures, you must have the Read permission set to Allow. For more information, see Team Foundation Server Permissions.

To view details for changesets from the Find Changesets window

  1. Perform one of the following tasks:

    • In Source Control Explorer, right-click the team project collection, team project, branch, or folder that contains the items that you want to retrieve, and then click Get Specific Version.

    • In Solution Explorer, right-click the solution, project, or individual file that you want to retrieve, and then click Get Specific Version.

  2. In the Find Changesets dialog box, highlight the changeset that you want to retrieve, and then click OK.

    The Get dialog box is displayed, with the Changeset number added in the Changeset text box. The changeset number corresponds to a point in time when those changes were committed to the Team Foundation version control server, and the get retrieves what was the latest version at that time.

  3. (Optional) Select the Overwrite writable files that are not checked out option. If this option is selected, files from the server overwrite all files that do not have the read-only attribute associated with them. Only files that are different on the server overwrite the files in the local workspace. By default, this option is not selected.

  4. (Optional) Select the Overwrite all files even if the local version matches the specified version option.

  5. Click Get.

    NoteNote

    This operation gets every version control item in the changeset. Team Foundation version control does not let you get individual items from a changeset.

    Source Control Explorer is displayed and the Latest column has updated status, for example, if the file was updated after the changeset, the status would be "No."

Community Additions

ADD
Show:
© 2015 Microsoft