Udostępnij za pośrednictwem


How to: Retrieve Old 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. Find the desired changeset by following the procedure in How to: Find a Changeset.

  2. In the Find Changesets dialog box, highlight the changeset 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.

    Note

    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."

See Also

Tasks

How to: Get the Source for Your Team Project

Concepts

Working with Version Control Changesets

Submitting Changes to the Version Control Server

Reference

History Command

Other Resources

Viewing Historical Data