简体   繁体   中英

How can I review the code affected by a specific changeset in Team System/TFS?

I've been all over the Visual Studio IDE and haven't been able to find where to see the itemized code/files affected by a specific changeset.

I found the Changeset option under "Find in source control..." option with the Source Control window up, but it's pretty useless at that point as it only lists the changeset for me but doesn't allow me to do anything with it after that.

Help?

I haven't found a really good place in the IDE to do that. You have that option when you are merging changesets, or if a changeset has been associated with a work item (check the links tab).

Instead, I use Team Foundation Sidekicks. It's free and has a really simple code review module that lets you do exactly what you are asking for.

PS I recommend this all the time, but, no I don't work for 'em. I just use their tools several times a day.

To find the changeset in question hit Ctrl+G to open up the Find Changesets dialog. If you know the changeset ID you can type it in the Changeset from,to section and press Find. Then if you double-click the changeset you can view the files in it. By right clicking on a file you can view it or compare it with another version.

Alternatively, use the Team Foundation Sidekicks as recommended by Joshua . They are very useful for many things - this included.

If you are looking at a list of changesets, such as clicking ViewHistory on a file or folder, you can just right-click the changeset you are interested in and select Details. That should show you the files, checkin comments, attached workitems, etc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM