Within this forum I found several approaches:
1. svn.checkout() or projects.primary.svn.checkout?
2. system.commands["svn", "copy"].execute("svn://new/destination/url", "false", "commit message")
3. os.popen('"' + SVNEXE + '" cat ' + XMLURL, 'r') as pipe:....
If you have CODESYS SVN you can use the API described in the SubversionIntegration.ScriptDriver
of the CHM file ScriptEngine_SVN_4040.chm
. For example, you can checkout a project using svn.checkout('url', 'directory', 'project_name') in a python script and run it in CODESYS.
If you don't have CODESYS SVN you can only work with the normal files. For example, you can checkout a project file and open it in CODESYS but you don't have any SVN features or operation inside CODESYS.
Check out the CODESYS store: http://store.codesys.com/CODESYS® a trademark of 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions