You can copy CODESYS projects to your development system that are saved in the SVN repository.
Creating a working copy
Open CODESYS.
Click
.⇒ The Checkout dialog opens.
Specify the URL of the SVN repository and select a project in the SVN repository tree.
If a CODESYS project has the extension
.project
or_project
, then it is recognized automatically as a project at checkout. If it has the extension.library
or_library
, then it is recognized as a library project.
In Checkout to, specify the name and location of the working copy on your development system.
Click OK to close the dialog.
⇒ The project opens in CODESYS. In the object tree of the project, the SVN link is shown with overlaid icons. Now the project is saved as a working copy on your development system.
See also
Update the working copy before you start editing, especially if the project is revised by a team. This is how you avoid conflicts.
Open the working copy.
Click ).
⇒ You working copy is current.
Revise your project.
Click
.⇒ The dialog opens. There you can browse your changes.
Close the dialog.
If necessary, you can click
in the context menu.⇒ The file is reverted back to the base revision and your changes are discarded.
If necessary, you can click
in the context menu of an edited object.⇒ The compare dialog opens. You can resolve any conflicts here.
Close the compare dialog.
Click ).
⇒ The Commit dialog opens.
In Message, specify a log entry that describes your changes. Example: Changes for customer ABC, request 1234.
⇒ Your changes are saved in the SVN repository as a revision with a revision number.
See also
V4.1.0.0
and later
For projects in version CODESYS SVN V4.1.0.0
and later, the working directory (working copy) has a new format.
If you open a project that was created with V4.0.4.0
or earlier, then the project is updated automatically to the new format when it is opened.
If you open a project that was created with V4.0.4.0
or earlier and the project is based on an older SVN version of 1.7.x
or earlier, then you are prompted whether or not CODESYS should update the format. If you decline the update, then the SVN link of the project is deactivated. You can still load and edit the project.
The update does not have an effect on saving to the SVN server. You can also checkout projects with earlier versions of the client. The new format affects only the local working directory.
See also