|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Understanding the History Window
Team Foundation maintains historical data for every version of every item that has ever been checked into the version control server. The History window displays the historical data associated with files. The History window is accessed through Solution Explorer, Source Control Explorer, or the command line by using the History Command. For more information, see How to: View Historical Data. The Historical data tracked in these changesets includes the following data:
Changeset The changeset number in which this version was checked in.
Change The type of change that took place for the changesets, for example "edit" or "add."
User The name of the user who checked in that particular version.
Date The date and time stamp associated with the changesets.
Comment If the user who performed the check-in on the changesets added any comments, they will be displayed.
Use the History window context-menu to accomplish the following tasks:
View previous versions of a file.
Compare files. For more information, see How to: Compare Two Files.
Annotate files. For more information, see How to: View File Changes Using Annotate.
Browse previous file versions to identify what pending changes were checked in.
Browse previous file versions to identify who checked in the changes.
Browse previous file versions to identify what date and time the changes were checked in.
View check-in comments associated with a previous file version.
Browse previous versions of files in changesets and view changeset details. For more information, see How to: View Details for Changesets.
Identify previous versions of files in changesets that you wish to retrieve. For more information, see How to: View Details for Changesets. For more information about how to retrieve previous versions of files from source control, see How to: Retrieve Old Versions of Files from Changesets.
Compare two versions of the file.