Skip to main content

Command: Checkout

Symbol: _svn_icon_checkout.png

Function: The command opens the Checkout dialog. There you can check out a project stored in the SVN repository as a working copy.

Call: Project → SVN menu

Dialog: Checkout

Table 6. URL of the SVN repository
_svn_img_input_field_url.png

URL of the project in the SVN repository

Example: https://svnserver/repository/trunk/ControlABC.project

Hint: As soon as a valid SVN repository is specified, you can click the adjacent buttons or the options in Revision to browse and select a specific project.

_svn_button_revision.png

Opens the Select Archive Categories dialog

The button is labeled with the currently selected revision:

  • HEAD: Newest revision (top revision)

    Default

  • 15: Revision number of the selected revision

  • 12/23/2016 11:59:59 (UTC): Change date of the selected revision (UTC)

Note: The dialog provides the same options as the Revision group.

_cds_icon_three_dots.png

Opens the SVN Repository Browser dialog

There you can browse the SVN repository.



Table 7. Checkout to

Name

Name of the working copy

Example: ControlABC.project

Location

Location of the working copy

Example: /D:/svn/repository/trunk/ControlABC.project



Table 8. Checkout as

Project

The project is saved as a CODESYS project "<project name>.project".

Library

The project is saved as a CODESYS library file "<project name>.library".

Auto-detect

CODESYS attempts to recognize the project type by means of the extension. The current implementation checks whether the URL of the project ends with "_library" or ".library". In this case, the project is recognized as a library or a project.



Table 9. Checkout Options

Omit externals

standard icon: Externals are not copied to the working directory.



Table 10. Revision

The group provides the same options as the Revision dialog.



OK

Checks out the project from the SVN repository, saves it locally to the specified location, and opens it in CODESYS as the primary project

Tip

If files were encrypted when imported to the SVN repository, or if they have been committed, then note the following:

When committing to the SVN repository, the information about an encrypted project file is included. However, the type of encryption is not included (password, Wibu security key, X509 certificate). Therefore, it may be necessary to encrypt the working copy again in the project settings. In this case, a dialog opens when exiting the command to notify you of this. Then you are able to switch directly to the project settings.