Object: SVN_VERSION_INFO
Symbol:
The object contains the SVN metadata of the project as global constants or variables in a variable list. It is located in the POUs view. You can call specific data in the application from the global constants or variables. By calling specific data, you can also reduce the memory usage on the controller.
SVN_VERSION_INFO
SVN_Info_Summary
SVN_Info_SummaryW
SVN_Info_URI
SVN_Info_Revisions
SVN_Info_Flags
SVN_info_LastChange
The SVN_VERSION_INFO object is created automatically when a project is versioned by importing it into a SVN repository. To do this, the Create SVN_VERSION_INFO option has to be selected in the Import project to SVN dialog.
Moreover, in the Project Settings – SVN Settings dialog, you can use the Generate SVN_VERSION_INFO constants for IEC Access option to create the object or remove it from the project.
Name | Data Type | Description |
---|---|---|
|
| Lowest revision number of the working copy |
|
| Highest revision number of the working copy |
|
|
Example: Cancellation during the last update due to a network error or a Checkout) |
|
|
|
|
|
|
|
| Version identification, similar to Apache™ Subversion® ( Example: For more information, see the documentation for Apache™ Subversion®. |
|
|
This is the case when MINREVISION is equal to MAXREVISION, the working copy is complete, and non-versioned, and is was not switched. |
|
| SVN-URL of the project Example: |
Tip
If a controller does not support the data type WSTRING
, then a compiler error is issued when accessing the object SVN_VERSION_INFO
.