开发者

Team Foundation Server: How to view changeset history

开发者 https://www.devze.com 2023-02-10 17:08 出处:网络
I\'d like to know how to view entire changeset history in Team Foundation Server for a given project.

I'd like to know how to view entire changeset history in Team Foundation Server for a given project.

this is what I want to see- starting from changeset 1 all the way to the current changeset:

show me change #, username, date of submission, descripti开发者_开发知识库on, files that were changed, etc.

note: i don't want to just see the history for a given file, or dir, i want to see the history for the whole darn thing. i.e., what happened in changeset 1, what happened in changeset 2, what happened in changeset 3, etc.


you can go to the Source Control Explorer in Visual Studio and right-click on your project and select View History. This will show you the list of all changesets made to that project, who made them, the date they were made and any comment added to those changesets. if you double-click on any particular changeset, you can see the files that were changed in that one changeset.

edited to add links.


This can also be done via the command line.

Be advised that if you have a significant change history in that path, this process can take a long time, and (at least under TFS 2008) can eat up a lot of tempDB space on your data tier.

tf history "$/TeamProject/Path" /recursive /noprompt /format:detailed

This will dump the entire change history for a given folder, including what was included in the check-in.


In Source Control Explorer (there is a button "Find Changesets" in toolbar), or via menu: File -> Source Control -> Find -> Find Changesets. The Find Changesets dialog box appears.

You could use it to see all changesets by user or by all users, etc..

Team Foundation Server: How to view changeset history


Solution (tested in Visual Studio 2017):

  1. Go to View (in top menu bar) -> Team Explorer
  2. In the newly opened Team explorer go to Home (the gray house) -> Source Control Explorer
  3. Right click on the topmost element of the folders (your TFS-Server) -> View History


Another way is to check with the browser.

Open browser and sign in TFS, and follow the path below:

  1. Choose your collection or organization
  2. Choose your project
  3. From the top menu, click on the "Code", then "Files" or Click "Repos" from the menu on the left then "Files"

Here you can see the list of all files and click on each one, and click on "History" tab on the right, to see the changes.

0

精彩评论

暂无评论...
验证码 换一张
取 消