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.

• For more information about commands that are only available from the command<br />

line, see “Operations Available Only From the Command-Line (<strong>Team</strong> <strong>Foundation</strong><br />

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

Use <strong>Team</strong> <strong>Foundation</strong> Power Tools to Unshelve a Change<br />

The <strong>Team</strong> <strong>Foundation</strong> Power Tools (TFPT) provides version-control functionality that is<br />

not available from <strong>Visual</strong> <strong>Studio</strong>. For example, you can use TFPT to help support offline<br />

working or to perform rollback operations in order to undo check-ins of a changeset.<br />

Consider using TFPT if you need to unshelve a change.<br />

The unshelve operation supported by TFS does not allow shelved changes and local<br />

changes to be merged together. By using TFPT to unshelve a change from a changeset, if<br />

an item in your local workspace has a pending change that is an edit, and the shelved<br />

change is also an edit, then TFPT can merge the changes <strong>with</strong> a three-way merge.<br />

You run this command from the command line by using Tfpt.exe.<br />

Additional Resources<br />

• To download <strong>Team</strong> <strong>Foundation</strong> Power Tools, go to<br />

http://www.microsoft.com/downloads/details.aspx?familyid=7324C3DB-658D-<br />

441B-8522-689C557D0A79&displaylang=en<br />

• To view a forum discussing <strong>Team</strong> <strong>Foundation</strong> Power Tools, see<br />

http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=930&SiteID=1<br />

Use <strong>Team</strong> <strong>Foundation</strong> Power Tools to Roll Back a Change<br />

Consider using TFPT if you need to roll back a change. The ability to undo a check-in of<br />

a changeset is not directly supported by TFS. By using the TFPT rollback command, you<br />

can attempt to undo any changes made in a specified changeset. Not all changes can be<br />

rolled back, but the rollback works for most scenarios.<br />

You run this command from the command line by using Tfpt.exe.<br />

Additional Resources<br />

• To download <strong>Team</strong> <strong>Foundation</strong> Power Tools, go to<br />

http://www.microsoft.com/downloads/details.aspx?familyid=7324C3DB-658D-<br />

441B-8522-689C557D0A79&displaylang=en<br />

• To view a forum discussing <strong>Team</strong> <strong>Foundation</strong> Power Tools, see<br />

http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=930&SiteID=1<br />

Use <strong>Team</strong> <strong>Foundation</strong> Power Tools to Work Offline<br />

Offline working is not supported natively by TFS. If you want to work offline, you must<br />

adhere to the following strict workflow:<br />

1. Manually remove read-only flags.<br />

2. Edit files.

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

Saved successfully!

Ooh no, something went wrong!