Dialog 'Options' - 'SVN Settings'Permalink

Tab 'General'

Symbol: _svn_icon_repository_browser

Function: This tab includes the basic settings for CODESYS SVN.

Call: Menu bar: “Tools  Options”.

Table 960: “Automatic locking and merging”

“Merge”

Behavior for the commands “Update”, “Merge”, or “Switch”, when both sides (working copy and SVN repository) have changed from the base version.

  • “Mark all colliding changes as conflicts”: The objects are not merged automatically. All changes with a conflict are marked as "With conflict", even if some of them can be merged automatically.

  • “Merge mergeable changes, mark the others as conflicts”: Changes that can be merged are merged automatically. All others are marked as "With conflict".

  • “Merge mergeable changes, ask the user for the others”: Changes that can be merged are merged automatically. The user is prompted for all others.

  • “Always ask the user, even for mergeable changes”: For all changed objects, the user is prompted, even if some of them can be merged automatically.

“Locks”

Behavior such as CODESYS SVN objects when they are changed locally.

  • “Always try to lock before modification”: All objects are locked before they are changed, even if they can be merged.

  • “Only lock the objects which don't support merging”: Only those objects are locked that cannot be merged automatically.

  • “Never acquire a lock automatically”: No objects are locked, not even if they can be merged automatically.

“Marker”

  • “Use conflict markers when merging objects”: If objects with conflicts exist that cannot be merged, then these conflicts are marked in the source code with conflict markers. In addition, the object itself is marked as being merged successfully (no conflict).

  • “Leave non-mergeable objects as conflicted”: No conflict marker is set. Objects that cannot be merged remain in the status "Conflicted".

“Prompt the user when automatic locking fails.”

_cds_icon_option_activated: If it is not possible, to lock the object, then the dialog “Automatic locking failed” opens (see dialog description).

Example of conflict markers

Foo();
>>>>>>>>>>>>>>>
I := I + 1;
===============
I := I + 2;
<<<<<<<<<<<<<<<

Table 961: “Server check”

“Check server for updates and locks”

_cds_icon_option_activated: CODESYS SVN checks in the specified time interval that objects have been updated on the server. In addition, it checks whether objects are locked or locks have been stolen.

“Check interval (minutes)”

Example: 10

Table 962: “Ignore for comparison”

Ignore whitespace

_cds_icon_option_activated: Whitespace differences between the current project and the reference project are ignored.

Ignore comments

_cds_icon_option_activated: Comments in the programming code are excluded from the comparison.

Ignore Properties

_cds_icon_option_activated: Object properties are excluded from the comparison.

Some of the SVN options can be overwritten by the project-specific settings.

Project-specific settings are defined in the menu “Project  Project settings”, category “SVN Settings”.

Tab 'SSH'

Symbol: _svn_icon_repository_browser

Function: This tab contains the settings for the SSH protocol.

Call: Menu bar: “Tools  Options”.

Table 963: “SSH client implementation”

“libssh2 (recommended)”

CODESYS SVN uses Libssh2 for establishing a connection via SSH protocol. This is the recommended setting.

“SharpPlink (backwards compatibility)”

CODESYS SVN uses plink.exe for establishing a connection with SSH servers. This option is required only for communication with outdated servers that support the deprecated SSH-1 protocol.

The SSH configuration can be overwritten by means of the environment variable ‎SVN_SSH‎ or server-specific by means of the SVN configuration file.