Description: Reads the working-copy revision reported by Subversion for a local directory.
Calling convention: CIP_SVNGetRevision(ADirectory: String): Integer
Parameters:
ADirectory: local SVN working-copy directory. Variant NULL returns NULL.
Returns: Integer revision from the entry element of svn info --xml, or 0 when the expected XML node is absent. The registration incorrectly declares a Boolean return type.
Availability: Default; requires the configured TortoiseSVN command-line client and write access to ADirectory. The function creates or replaces CIP_GetSVNXMLInfo.bat in that directory.
Example:
Revision := CIP_SVNGetRevision("C:\Work\Project");