26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• Branching – <strong>Visual</strong> SourceSafe uses a pin-and-share branching method. Pinning is<br />

not supported in TFS version control, which instead uses path-space branching. This<br />

makes it easier to maintain old versions of your software, because it facilitates<br />

merging changes from one branch to another or making changes in two branches at<br />

once.<br />

• Sharing – TFS version control does not support sharing. The migration of a shared<br />

file results in copying the file to the destination folder.<br />

• Workflow integration – <strong>Visual</strong> SourceSafe is a stand-alone version-control system.<br />

TFS version control is integrated <strong>with</strong> work item tracking and TFS reporting.<br />

Additional Resources<br />

• To learn more about the differences between <strong>Visual</strong> SourceSafe and TFS version<br />

control, see “<strong>Visual</strong> Source Safe vs. <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong>” at<br />

http://msmvps.com/blogs/vstsblog/archive/2005/07/02/56401.aspx<br />

How is the checkout model different from VSS?<br />

When you check out a file from TFS version control, the file is marked as writable in<br />

your workspace but is not synchronized <strong>with</strong> the database server. To get the latest version<br />

from the database server, you must first use the get command. In contrast, a VSS checkout<br />

operation gets the file from the database server and marks it as writable in your<br />

workspace.<br />

<strong>Visual</strong> SourceSafe uses exclusive checkout by default, while TFS uses shared checkout<br />

by default. Shared checkout enables multiple developers to make changes to a file at the<br />

same time. Unlike in <strong>Visual</strong> SourceSafe, most conflicts in TFS can be resolved<br />

automatically.<br />

Additional Resources<br />

• For more information about the differences between VSS checkout and TFS version<br />

control checkout, see “<strong>Team</strong> <strong>Foundation</strong> vs. SourceSafe | Checking Out” at<br />

http://blogs.msdn.com/korbyp/archive/2004/07/28/199720.aspx<br />

How should I migrate my source from VSS to TFS?<br />

<strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> ships <strong>with</strong> a VSS converter that allows you to migrate files,<br />

folders, version history, labels, and user information from a VSS database to TFS version<br />

control.<br />

The converter does have some limitations that are important to understand; for example:<br />

• Historical information about file sharing is not preserved. <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong><br />

does not support sharing. The migration of a shared file results in copying the file to<br />

the destination folder.<br />

• Historical information about branching is not preserved.<br />

• <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> does not support pinning. Pinned files are migrated by<br />

creating two labels.<br />

• Timestamps associated <strong>with</strong> actions are not preserved during migration.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!