Поделиться через


How to: View Historical Data

Team Foundation source control retains historical data on all files. This history is presented in the History window. The following procedures demonstrate how to view data on a specified file in source control from Solution Explorer and Source Control Explorer. The history can also be viewed from the command line using the History Command.

Note

Team Foundation source control provides the ability to retrieve historical or previous versions of files. For more information, see How to: Retrieve Old Versions of Files from Changesets.

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 history from Solution Explorer

  • In Solution Explorer, right-click the file for which you want to view the historical data, and click View History, the History window displays. For more information, see Understanding the Understanding the History Window.

    Tip

    The History window can be set as Floating, Dockable, or Tabbed Document, you can choose one of these options by right-clicking the History window and selecting one of the options.

    In the History window, you can view the version, change type, user, date, and any comments associated with the changeset. If you want to see further details associated with the changeset, see How to: View Details for Changesets.

To view history from Source Control Explorer

  1. From the File menu, choose Other Windows, and then choose Source Control Explorer if not already open.

  2. In Source Control Explorer, right-click the file or folder for which you want to view the historical data, and click View History; the History window displays. For more information, see Understanding the History Window.

    Tip

    The History window can be set as Floating, Dockable, or as a Tabbed Document, you can choose one of these options by right-clicking the History window and selecting one of the options.

    In the History window, you can view the version, change type, user, date, and any comments associated with the changeset. If you want to see further details associated with the changeset, see How to: View Details for Changesets.

See Also

Reference

History Command

Other Resources

Viewing Historical Data