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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

What should I do if a developer has left the project?<br />

If a developer has left your project, make sure that you delete that developer’s workspace.<br />

This operation also removes any of the developer’s pending changes and undoes any<br />

locks held by the developer.<br />

Note: You cannot undo the locks <strong>with</strong>out undoing the changes if an exclusive lock has<br />

been turned on for the team project.<br />

To find out which files the developer has locked out, run the following command:<br />

tf workspaces /owner:domain\devuser /computer:* /server:servername<br />

To delete the workspace and remove locks, run the following command:<br />

Tf workspace /delete workspacename;domain\devuser /s:servername<br />

Additional Resources<br />

• For more information about cleaning up after a developer who has left a project, see<br />

“How to: Clean Up Files When Users Leave” at http://msdn2.microsoft.com/enus/library/ms194958(VS.80).aspx<br />

• For more information about the Workspace command, see “Workspace Command”<br />

at http://msdn2.microsoft.com/en-us/library/y901w7se(VS.80).aspx<br />

How do I manage interns or other developers that I do not trust to perform<br />

check-ins?<br />

If your team includes developers that you do not yet trust, such as new hires or interns,<br />

you can deny these developers check-in permission on the source tree. Make sure that<br />

you set your desired permissions (including permissions for your own account) before<br />

turning off inheritance. Rather than check in directly, untrusted developers can make<br />

pending changes and then shelve these changes. A more experienced developer can then<br />

unshelve the changes, review them, and check them in later.<br />

Additional Resources<br />

• For more information about removing permissions, see “How to: Remove Access to<br />

Source Control Files” at http://msdn2.microsoft.com/enus/library/ms400718(VS.80).aspx<br />

How should I modify permissions after my application has shipped?<br />

When a branch is in maintenance mode―for example, after it has been shipped―you can<br />

turn off permissions inheritance to lock down the tree. After you have turned off the<br />

permissions, you can allow individual users the pend-change and check-in permissions<br />

as needed for hotfixes.

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

Saved successfully!

Ooh no, something went wrong!