Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get all my checkins in Visual Studio 2010 TFS?

Tags:

tfs

On Many occasions, I need to review my checkins.
Is there a way I can get all my checkins in TFS? I don't mean view history on a particular file, but all my checkins! If I can filter based on start and end date would be great

I am new to TFS!!!

Any suggestions

like image 970
user9969 Avatar asked Sep 17 '10 15:09

user9969


People also ask

How do I view a project file in TFS?

Right-Click In the File List, right-click the file you want to check in and select Source Control > Check In (for selected files) or Source Control > Project > Check In All (for all files in the project).


2 Answers

You can probably get what you need from the command line TF.EXE program. The command to do this should be something like this (run it from a Visual Studio command prompt):

TF.EXE history /server:http://tfs:8080 "$/" /recursive /user:username /noprompt /format:detailed

You can manipulate the "$/" to go to a more nested folder if you need to reduce your output.

You'll also want to redirect this to a file (using > output.txt or something) as there's a lot of information here.

TF.EXE history /? will give you a list of options.

like image 52
Robaticus Avatar answered Nov 16 '22 05:11

Robaticus


  1. Open "Team Explorer" (Found in "View"-menu)
  2. Find the team-project and expand "Team Members"
  3. Right-click the team member and select "Show Checkin History".

But it is very strange that one cannot do this filtering directly, when viewing the entire history of a team-project.

Yet another alternative is to use the "Link to"-search within TFS WorkItem:

  1. Open a TFS Workitem
  2. Choose the "All Links"-tab
  3. Press the "Link To"-button
  4. In the new dialog set "Link Type" to "Changeset" and press "Browse..."-button.
  5. Now you have a TFS search dialog, where one can specify username and other filtering

See also VS2010 - Find Information About a Changeset

like image 38
Rolf Kristensen Avatar answered Nov 16 '22 05:11

Rolf Kristensen