Supportforum

Help, Feedback, Feature-Requests, Tipps for OASIS-SVN

Repository-Infos per VBA ermitteln

GillesB created the topic: Repository-Infos per VBA ermitteln

Wer in seinem Access-Projekt Informationen zum Quelltext-Repository automatisiert per VBA ermitteln möchte, kann dies mit Hilfe der Bibliothek "LibSubWCRev" erledigen, die bei der Installation von TortoiseSVN automatisch im System registriert wird.

[img]images/content/LibSubWCRev.png

Der Zugriff darauf gestaltet sich dann denkbar einfach:
Public Sub GetRepositoryInfos()
Dim svn As New SubWCRev
    Call svn.GetWCInfo("C:\Nordwind", True, True)
    Debug.Print svn.Author
    Debug.Print svn.Date
    Debug.Print svn.HasModifications
    Debug.Print svn.IsLocked
    Debug.Print svn.IsSvnItem
    Debug.Print svn.LockComment
    Debug.Print svn.LockCreationDate
    Debug.Print svn.LockOwner
    Debug.Print svn.MaxRev
    Debug.Print svn.MinRev
    Debug.Print svn.NeedsLocking
    Debug.Print svn.Revision
    Debug.Print svn.URL
End Sub
#66

Please Log in to join the conversation.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok