When you check out a file, a writable copy of the latest revision is placed in the workfile location and assigned the next revision number. You can optionally prevent other users from checking files out while you are editing them.
If you are using optimistic source control, you do not need to explicitly check files out to edit them. If a file you attempt to edit is not already writable, you will be prompted to make it writable.
|
|
CAUTION! When you work in pessimistic mode, an alert dialog box may display when you click the Cancel button while checking out a project file. The error states that the action could not be completed. You can ignore this error. |
To check out files:
In the Solution Explorer pane, select the files, projects, or solution that you want to check out, and right-click. Select Check Out. The Check Out dialog box appears.
Refine your selection by selecting or de-selecting files in the list.
Optionally, click the Compare button to invoke the Merge tool and compare the latest version of the file you’re checking out to your local copy.
Set Overwrite modified files to Yes if you want to overwrite local copies even if the local copies have been updated since you last retrieved them from the repository.
Select the Proceed with concurrent checkout option to get the files, even if they are already checked out to another user elsewhere. This option allows multiple users to check the files out and work on them concurrently.
Click Next. If any requests are available to relate to the files you are checking out, select the requests and click Next.
On the New Item Revision Attributes screen, you can set attributes as needed for the files you are checking out. Select the file or files, then choose a role section to display all available attributes. Set the attributes as needed and click Finish.
Click OK.
About File and Version Management