You are here: Modifying Files > Checking out files

Checking out files

When you check out a file, Surround SCM copies a read-write version of the file to the working directory. This allows you to edit the file and make changes to it.

1. Select the files or repository and choose Activities > Check Out.

The Check Out Files dialog box opens.

2. Enter any Comments, such as the reason for checking out the file.

3. Select Exclusive check out to prevent other users from checking out the files or repository. This option is only available if Surround SCM is configured to allow multiple check outs.

4. Select Recursive to check out all files from the selected repository and all subrepositories.

5. Optionally expand the Changelist options area to select options for checking in files as part of a changelist.

Files you add to a changelist during check out are checked in when the changelist is committed. For example, if a change affects multiple files in multiple repositories, add the files to the changelist during check out so all files are checked in as one unit. See Adding file actions to changelists.

6. Optionally expand the Advanced options area to select other check out options.

7.  Select Force file retrieval from server to check out the server copy of the files.

Select this option if the local file status is 'current' and you know that it is not. This can occur if there is a problem with the .MySCMServerInfo file.

8. Select an Overwrite option to specify what to do if the local file and server file are different or how to handle modified files in the working directory that were removed from the server.

Note: If you skip retrieval of a writable file that is old (out of sync with the server), you will lose any changes that are in the old file when you check it in.

9. Select a File timestamp option. This timestamp is set on local files when they are retrieved from the server.

10. Click OK.

The files are checked out.

 

Additional documentation  Knowledgebase  |  Blog  |  Technical support