Checking-Out Files
Top  Previous  Next


The check-out command is used to get the latest revision checked-in to the repository (Also called the head revision). You will need to get the latest revision if you wish to undo your local changes, or, in workgroup mode if another user had checked-in a new revision to the repository. In workgroup mode, the check-out command is used to lock or unlock the file(s) as well.

To check-out a file:
1.From the Document Explorer or Windows Explorer, right-click a file.  
The right-click menu appears.  
2.From the right-click menu, click Check-out.  
The following message appears:  

 


Check the Lock file(s) option to get exclusive edit permission to the file. Clear this option to release the lock so that other users may lock the file and gain write permission to it. This option is enabled in Workgroup mode only.

If the file has been edited but not checked-in after the last changes will have Modified as its RCS Status. When you apply Check-out to files with this status, the following dialog appears:
 

 

This dialog includes the following options:  
·To review the changes made to the file, click Review changes.  
·To edit the file after it is checked-out, select Retain Lock. This option is always selected in a single-user environment.  
·Click OK if you wish to undo all changes.  


Multiple check-out is possible from either the Document Explorer or the Windows Explorer. This is useful when you want to revert several files to their previous revision state.

1.From the Document Explorer or Windows Explorer, select the desired files or folders.  
2.Right-click and select Check-out.  

OR  

From the Project menu on in the Document Explorer, select Check-out.  

OR  

From the Project tree in the Document Explorer, Right-click on the desired project or folder and select Check-out.  

The following message appears:

 
 
Lock file(s) - Check this option to get exclusive edit permission to the files. Clear this option so that other users may lock the file and gain write permission to it. This option is enabled in Workgroup mode only.

Update timestamp of all files - The check-out command is optimized to skip files that are not affected by the command. Check this option to force CS-RCS to modify the timestamp of all files. This is useful when you want to compile all of your files.