user436862
user436862

Reputation: 869

How can I determine what revision of source code is on my PC?

Until now I used SVN for couple of years.
I converted my code management to TFS.

In SVN I had an option to see history of commits and the current local version of the code was marked in bold black.(by revision's)

How can I determine what revision of source code is on my PC?

Upvotes: 1

Views: 687

Answers (1)

jessehouwing
jessehouwing

Reputation: 114461

In the Source Control explorer you can check the properties of a file, this panel will show the Workspace version, which is the number you're after.

Since different files can be at different versions, there is no indicator which shows the workspace version of all files in your workspace. Some files can be at latest, while others may have been fetched using "Get specific version" or may not have been updated recently.

enter image description here

enter image description here

or from the Commandline:

 2013:\> tf localversions path\to\file
 2015:\> tf vc localversions path\to\file

Upvotes: 2

Related Questions