Reputation: 7438
I want to get specific version of my solution from TFS.
Loads of checkins and comments happend after that
Right clicking on folder from Team Explorer -> Source control -> Solution Folder and clicking on View History not helping as it is showing all the comments added.
I am trying following
File Menu -> Source Control -> Label -> Find Label
Surprisingly it does not show the date of checkin and show all the labels sort by Name.
I don't remember the exact date but date column will definitely help me to pick the nearest version.
Now How can I find that label by date.
Upvotes: 2
Views: 2810
Reputation: 8544
Go to Source Control Explorer and right-click on the Branch you want to examine, then select "View History".
This presents with two Tabs: "Changeset" (the Default) & "Labels":
If you select this one, you 'll get info on the Date & the Comment of the Label.
If you double-click on the Label you 'll get the Changesets that got build within this Label, as well as the version (changeset) of each $ServerItem
under this branch for the given Label.
Beware that all those fields can be changed after the initial setting of the Label, that's the main argument why Labels aren't recommended in TFS as a means to determine "point in time" (see this for a reference), unless you 're absolutely sure none has tampered with it.
Upvotes: 5
Reputation: 26737
I think you have to use the label command
tf labels [/owner:ownername] [/format:(brief|detailed)]
[/collection:TeamProjectCollectionUrl] [labelname] [/login:username,[password]]
*/format
Displays information about the specified label in one of the following formats:
Brief Includes label, owner, and date created. This is the default.
Detailed Includes also comments, scope, and a list of files and folders associated with each label.*
ex:
c:\projects> tf labels
you can find the tf.exe
at the below path
C:\...\Microsoft Visual Studio 10.0\Common7\IDE
more info at:
http://msdn.microsoft.com/en-us/library/t21wc9ca.aspx
Upvotes: 1