65.9K
CodeProject is changing. Read more.
Home

FreeVCS++ - FreeVCS Visual C++ add-in

starIconstarIconstarIconstarIconstarIcon

5.00/5 (1 vote)

May 13, 2001

3 min read

viewsIcon

114357

downloadIcon

1209

The add-in enables you to use FreeVCS, the free Version Source Control, in Visual C++

Introduction

FreeVCS is a free, simple to use Version Control System that was designed by Thomas Hensle. FreeVCS has an integrated Delphi client and a standalone client for all the other non-Delphi related projects.

As I found FreeVCS more useful to me than other version control systems that I saw (Like Microsoft SourceSafe and CVS) and since I am using Visual C++ I did FreeVCS++, an add-in that makes it able to use FreeVCS basic options from Visual C++ just the way you do it with SourceSafe.

The current options include Check Out, Check In, Check In All, Synchronize. To use the add-in you'll need the server of FreeVCS (Runs under Win32 systems) and the standalone version of FreeVCS. You can get both of them here: After you install the server and configure your project files on it you can download the FreeVCS++ add-in, the Plugin download includes the setup which will guide you through the installation process.  Download it first to install the needed parts of the add-in. after that if you want, download the source of the add-in. The setup includes a short readme file that will help you to start using the FreeVCS++ add-in. However, this is since a BETA thus I don't take any responsibility for  the damage that my add-in may cause. Use it at your own risk.

Changes

  • 09/Jan/02: Fixed the source file, resources were added.
  • 22/May/01: The file download are fixed and a mailing list is added.
  • 16/May/01: When you check-in the files are saved. Thanks to everyone that helped me in that one :=)

Mailing List

This mailing list is only for the users of FreeVCS++ add-in. The mailing list will update the signed members of the recent change with the add-in.

The main FreeVCS mailing list will no longer send messages on FreeVCS++ updates, thus if you want to stay tuned to the latest changes with this add-in, subscribe.

Old Issues

The Check In of the add-in doesn't save the file and it caused data loss if you were not careful. I tried to make it save in the add-in but couldn't figure out how and wasn't able to find anyone that can help, thus I simply added a macro that does it. The macro is not included in the package and I am posting it here, I am aware to the fact that it is not the way to solve this problem, however, till someone that understands more on this subject can fix it or till I find the answer, it will stay that way:

Sub CheckIn()

    If ActiveDocument.ReadOnly = False then
        ActiveDocument.Save
        ExecuteCommand "FreeVCS++CheckInCommand"
    Else
        MsgBox("File is not Checked Out")
    End If

End Sub

Sub CheckInAll()

    Documents.SaveAll
    ExecuteCommand "FreeVCS++CheckInAll"

End Sub

Just make a new button instead the Check In and Check In All that will direct to the appropriate macro.

Credits