Monthly Archives: February 2011
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.
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.
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.