Login | Register
My pages Projects Community openCollabNet

delphiaddinfortortoisesvn
Project home

If you were registered and logged in, you could join this project.

Summary Simple add-in for Delphi/C++Builder IDE featuring TortoiseSVN
Category scm
Owner(s) scdevelop

Description

A very simple add-in for Delphi and C++ Builder IDE's (a.k.a Borland Developer Studio, a.k.a Turbo Delphi/C++, a.k.a. CodeGear RAD Studio).

This will add a menu with the most common TortoiseSVN commands to work with the current project files.
Current supported commands are:

  • Log (project)
  • Check modifications (project)
  • Add (project)
  • Update (project)
  • Commit (project)
  • Diff (current module files)
  • Revert (project)
  • Repository browser
  • Settings
  • About
and an extra command to open an explorer window with current project (to access advanced TortoiseSVN commands).

This add-in is just to facilitate working with TortoiseSVN without leaving the IDE. It's not meant to be a fully-IDE-integrated VCS system.

If you own Borland Developer Studio or some of the Turbos you have other, more sofisticate alternatives to this add-in. For a free plugin that does not require TortoiseSVN (i.e. works directly with SVN) see the Subversion plugin for Borland Delphi.

Screenshots

This is the TortoiseSVN menu integrated on C++ Builder 5 IDE main menu:

This is the TortoiseSVN menu integrated on Borland Developer Studio 2006 main menu:

This is the TortoiseSVN menu integrated on CodeGear RAD Studio 2007 main menu:

Requirements

TortoiseSVN must be installed. The add-in was tested with versions 1.3 and 1.4

Usage tips - known issues

  • The "update" and "revert" commands are a bit tricky. You may need to reload your editor files after you use them.
  • All commands (except "diff") are project-based. This is to avoid over-populating the menu with two versions of every command (file and project).

Binaries - installation

The add-in builds and installs as a Delphi package. As there exist many versions of IDE's it's recommended that you create your own package for your particular environment.

For Delphi/C++Builder 5 you can get prebuilt binaries (check the "bin" folder in the file section).

It's also possible to build the add-in as a DLL (see the readme files for details).

Source code - compiling

The main source file is available here. You will also need this resource file. You just need to create a package project, add the main source file, build and install.

If you use Delphi 5 you can get already-made project files (check the "src" folder in the file section).

The add-in uses the "new" Open Tools API, so it compiles in Delphi 4 and above.
It can be easily (at least I think so) converted to C++ and compiled in C++ Builder, if necessary.

Comments

The first add-in version (made with the "old" Open tools API) is still available just in case you want it. Check "src/oldOTA" and "bin/oldOTA" in the file section.

It is known to work in all Delphi versions up to 7.

Feedback

Have comments, suggestions, etc., or just find this useful? Drop me a line!