Chapter 19. Team Foundation Version Control

WHAT'S IN THIS CHAPTER?

  • Understanding Team Foundation version control

  • Setting up version control

  • Using the Source Control Explorer

  • Understanding basic version control operations

  • Understanding check-in policies

  • Viewing the history of files and folders

  • Understanding labels

  • Understanding shelvesets

  • Understanding to branching and merging

  • Getting to know command-line tools

If you are a developer or a tester, you are basically living in a world of source code. When you have more than one person working on a project, versioning becomes an issue. If two developers work on the same assembly, how do you merge their code together? How do you prevent accidentally overwriting files? Incredibly, many organizations still use file shares to store source code. Others push Microsoft Visual SourceSafe to the limit with 150 active users or more, or use third-party solutions or Open Source solutions that integrate poorly with Visual Studio.

One of the key features of Visual Studio Team Foundation Server 2010 is its version control management system. It offers a number of features, including the capability to branch, merge, and shelve your source code, atomic check-ins, policies, security — all the features you would expect from an enterprise version control solution. The core engine for this tool is Microsoft SQL Server 2008. As such, the performance of Team Foundation version control will greatly depend on your server's hardware and the size of your SQL Server 2008 database. ...

Get Professional Application Lifecycle Management with Visual Studio® 2010 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.