Is it over yet?

We recently completed our TFS 2010 upgrade process at my place of work. Since it was our second attempt in recent months, we all breathed a sigh of relief when it completed successfully.

Suddenly, I started getting a lot of questions from my co-workers, “How come [new TFS feature X] isn’t working?!”

After upgrading a TFS instance, you will still be using your original Team Projects, some features of TFS 2010 will not be available to these Team Projects. This allows you to ease into the adoption one Team Project and / or feature at a time.

This first post in the series describes the easiest feature to enable.

Branch Visualization

In Source Control Explorer, right-click the folder that represents your root/top level branch. In the context menu that appears, mouse over Branching and Merging and click on the Convert to Branch… option. The folder icon will change to a new icon clearly identifying it as a branch.

Now right-click on one the branch icon and again mouse over Branching and Merging. The convert option is replaced by a View Hierarchy option.

Branching - View Hierarchy

 The Branch Hierarchy diagram appears. From here you can see how branches interrelate. You can even branch, merge or compare selected branches.

One of the coolest features now enabled however is the ability to track a changeset across branches. Right-click a folder in Source Control Explorer and in the context menu that appears, click View History. Select a single changeset and in the toolbar near the top of the page, click the Track Changeset button.

You will be prompted to select any desired branches before clicking the Visualize button. Subsequently, the changeset diagram will appear and you can see how that if and where that changeset was merged across branches.

With the TFS 2010 upgrade, you can now grant/deny users the ability to merge or manage branches by right-clicking a folder and in the context menu that appears, click the Properties option. On the Properties page, click the Permissions button.

You can also view a list of any branch relationships by right-clicking a branch icon and in the context menu that appears, click the Properties option. On the Properties page, click the Relationships button.

Advertisements

Posted on February 17, 2011, in Visual Studio and tagged , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: