Friday, June 13, 2008

TFS 2008 - Source Control Annotation

This post will look into the Source Control Annotation feature in VSTS 2005 using TFS power tool or in VSTS 2008 using TFS 2008.

The annotation feature gives me the changeset information for each line of a source file. Hover over the changeset give me detail about the changeset as who did the check-in for that changeset and when was this checked-in.

You will find the same changeset numbers for different lines because the annotation presentation is based on the source file perspective. We see the changeset hence for each line of code.

It looks like:



Double clicking respective changeset give me all the files included in it via a file viewable wizard. We can see what the file was and also compare it with the latest ones or with a particular version file.

Main thing to observer here is that you will only see changeset corresponding to the last change for that file and not all the changeset's i.e. Changeset history. You can always check the history by looking into the history option though.

I find this annotate useful in finding particular changeset details in case the code fails or any error comes even at the line level. If you are debugging a failure you would find it very useful and also your QA team would be happy in case they do some white box testing and find some bug. Bug can be exactly filed for person who actually caused that bug to surface.

I will be blogging on more aspects of TFS 2008 in near future.

bye for now.

visit my team @ http://global.rampgroup.com

No comments: