ScriptSvnVersionInfoObject

class ScriptSvnVersionInfoObject.SvnVersionInfoObject

Bases: object

The SVN Version Info object.

activated on that project. The GUID is {c3b75dc8-181f-4196-baba-6b204758e75c}. However, all of this are implementation details and may change.

property VersionInfo

Gets or sets the version info. This is usually kept current by the SVN plugin.

Return type:

SvnWorkingCopyVersionSummary

Returns:

The version info.

property BaseUrl

Gets or sets the base URL. This is usually kept current by the SVN plugin.

Return type:

Uri

Returns:

The base URL.

property TextDocument

Gets the language declarations. This is the IEC “Declaration Part” for this object, and should be treated as read-only.

Return type:

TextDocument

[Obsolete(“Use ISvnVersionInfoObject2.TextElements instead”)]

property IsCompletelyAvailable
Return type:

bool

Returns:

True if the version info language model is complete and available.

property TextElements

Gets the language declarations. Those are the IEC “Declaration Part” for the signatures generated by this object, and should be treated as read-only.

Return type:

list[SvnVersionInfoTextElement]

is the backwards compatibility one, and the others represent the same information into smaller chunks, allowing selective linking and avoidance of byte-strings on platforms with only wstrings.

class ScriptSvnVersionInfoObject.SvnVersionInfoTextElement

Bases: object

Represents a single text element.

property SignatureGuid

Gets the signature unique identifier.

Return type:

Guid

Returns:

The signature unique identifier.

property SignatureName

Gets the name of the signature.

Return type:

str

Returns:

The name of the signature.

property TextDocument

Gets the text document (read-only!).

Return type:

TextDocument

Returns:

The text document.