Undoing or reverting source file check out
If you modify a source file attached to an item and decide not to save the changes, you can undo (revert) the check out. This discards changes, checks in the file, and does not change the version number.
1. Click the Source Files tab when you are editing an item. The Source Files tab is on the Files tab in requirements, documents, test cases, and manual test runs.
2. Select the checked out file and click Undo Check Out.
The Undo Check Out Files dialog box opens.
3. Select Only show dialog if Shift key is pressed to only display the dialog box again if the Shift key is pressed. Select this option to always use the same options when undoing check outs.
4. Select a File overwrite option to specify what happens if a writable file is found in the working directory. Depending on the option, changes are lost when you undo the check out.
- Get original version replaces the local file with the original server version.
- Get latest version replaces the local file with the latest server version.
- Leave local file leaves the local file as is.
5. Select Make files writable to leave a read-write copy of the file in the working directory.
6. Click OK.
The file is no longer checked out.
1.Click the Source Files tab when you are editing an item. The Source Files tab is on the Files tab in requirements, documents, test cases, and manual test runs.
2. Select the checked out file and click Revert.
The Revert Files dialog box opens.
3. Select a Local file option.
- Replace replaces the local files with the original depot version.
- Leave leaves the local file as is.
4. Select Only show dialog if Shift key is pressed to only display the dialog box again if the Shift key is pressed. Select this option to always use the same options when reverting check outs.
5. Click OK.
The file is no longer checked out.