Administering team foundation server instances and team projects

Questions derived from the 70-510 – TS: Visual Studio 2005 Team Foundation Server Microsoft Self-Test Software Practice Test.


Objective: Administering team foundation server instances and team projects
SubObjective: Manage team projects


Item Number: 70-510.2.2.2
Single Answer, Multiple Choice


You are the application developer in a software company using team foundation version control (TFVC). The team foundation server is configured for nightly backup.


The application client requires some features to be added. You check out the source code and begin implementation of the new features. Some are fully functional by the end of the business day. You want to continue implementation on the next business day. The file should be backed up at the end of the night.


What should you do to save the source code changes without checking them back in using the least amount of administrative effort?



  1. Use Team Explorer
  2. Use the Windows Backup utility
  3. Use the shelving feature of TFVC
  4. Use the branching feature of TFVC

Answer:
C. Use the shelving feature of TFVC


Tutorial:
You should use the shelving feature of TFVC to save the changes made to the source code file without checking it back in. Shelving a file does not check in the file. The shelving process moves the file to the Team Foundation Server without checking it in. This ensures that the partial changes you made on the file will be saved on the Team Foundation Server and the saved file will be backed up during the nightly backup process. Shelving a file or a folder can be performed by using Source Control Explorer, Solution Explorer, the Pending Changes window, or the command line. To perform shelving using Source Control Explorer, you must adhere to the following steps:



  1. In Source Control Explorer or Solution Explorer, right-click, and click the Shelve Pending Changes option to open the Shelve – Source Files dialog box.
  2. In the Shelve – Source Files dialog box, type the name of the shelveset, type a comment in the Comment box, and then click the Shelve button.

You cannot use Team Explorer to efficiently save the changes made to the source code file on the Team Foundation Server without checking in the source code file. Team Explorer is typically used as an interface to access and manage team projects stored in the Team Foundation Server. To efficiently save the changes made to the source code file on the Team Foundation Server without checking in the source code file, you should the shelving feature of TFVC.


You should not use the Windows Backup utility to save the source code changes without checking them back in. Backing up the file using the Windows Backup utility and restoring it back will require a considerable amount of administrative effort. Windows Backup utility allows you to save a file in an external media, such as a floppy disk or a CD-ROM, or on another computer. Backing up the file in as external media will not ensure that the modified file will be backed up during the nightly TFS backup process. Moreover, you cannot back up the file on the Team Foundation Server by using the Windows Backup utility. To do so, you require appropriate permissions to access the Team Foundation Server.


You cannot use the branching feature of TFVC to save the source code changes without checking them back in. The branching feature allows you to isolate a collection of files by diverging them on two or more different paths. This feature is used for preserving the history of divergent development tasks. Moreover, branching also allows modifications to be merged to the new ones by using the old files.


Reference:
MSDN Library > Development Tools and Languages > Visual Studio 2005 > Technical Articles > Visual Studio Team System > Team Foundation Server > Using Source Code Control in Team Foundation


MSDN Library > Development Tools and Languages > Visual Studio 2005 > Visual Studio Team System > Getting Started with Team Foundation > Team Foundation Concepts > Team Foundation Source Control


MSDN Library > Development Tools and Languages > Visual Studio 2005 > Visual Studio Team System > Team Foundation > Team Foundation Project Members > Working with Team Foundation Source Control > Team Foundation Source Control > Using Source Control Explorer


MSDN Library > Development Tools and Languages > Visual Studio 2005 > Visual Studio Team System > Team Foundation > Team Foundation Project Members > Working with Team Foundation Source Control > Working with Source Control Files and Folders > Working with Source Control Shelvesets > How to: Shelve and Unshelve Pending Changes


Team Foundation Server, Chapter 12 Setting Up Team Foundation Version Control, Team Foundation Version Control Essentials, Shelving, pp. 322-323.


Team Foundation Server, Chapter 12 Setting Up Team Foundation Version Control, Version Control Overview, Common Version Control Concepts, Check-In/Check-out, pp. 309-312.


Team Foundation Server, Chapter 12 Setting Up Team Foundation Version Control, Version Control Overview, Common Version Control Concepts, Branching and Merging, pp. 313-314.

Like what you see? Share it.Google+LinkedInFacebookRedditTwitterEmail
cmadmin

ABOUT THE AUTHOR

Posted in Archive|

Comment: