Command 'Checkout'Permalink

Symbol: _svn_icon_checkout

Function: This command opens the “Checkout” dialog. Here you can checkout a project stored in the SVN repository as a working copy.

Call: Menu bar: “Project  SVN”.

Dialog 'Checkout'

Table 941: “URL of SVN repository”

_svn_img_input_field_url

URL of the project in the SVN repository

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

Tip: As soon as a valid SVN repository is specified, you can click the adjacent button or use the options to browse in “Revision” and select a specific project.

_svn_button_revision

Opens the dialog “Select revision”.

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.

_svn_button_three_dots

Opens the “SVN repository browser” dialog Here you can browse the SVN repository.

Table 942: “Checkout to”

“Name”

Name of the working copy

Example: ‎ControlABC.project‎

“Location”

Storage location of the working copy

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

Table 943: “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 944: “Checkout options”

“Omit externals”:

_cds_icon_option_activated: Externals (external objects) are not copied to the working directory.

Table 945: “Revision”

For a description, refer to the section "Dialog 'Select revision'".

Note: 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.

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.