Using the
StarTeam Visual Studio Plugin, there are a number of options for reverting your source file to a previous revision from the repository. Reverting to a
prior revision deletes any unsaved changes. Furthermore, using the
Undo or
Redo commands has no effect.
-
Choose
from the
Solution Explorer or filename tab context menus.
This discards any changes in the editor buffer for the active file, and reverts it back to the most recent revision of the
file in the repository.
-
Alternatively, you can use the
command.
If you have modified a file locally, and then choose to check out the latest version from the repository,
StarTeam warns you that you are about to overwrite your own local changes with the copy from the repository. You can choose
Yes to continue, or choose
No to abort the check out.
Note: You can view various
StarTeam file revisions using the
History tab. This tab lets you compare any two revisions of a file. To use it, open either the embedded client or the standalone
client (choose
from the main menu). Select a file in the upper pane of the
File tab, and then select the
History tab in the lower pane, and you will see the list of file revisions for the selected file. Use the context menu
Check Out command provided in the
History tab to retrieve a different version of a file.