Login | Register
My pages Projects Community openCollabNet

delphiaddinfortortoisesvn
Project home

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

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
Project Overview

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/Embarcadero RAD Studio).

This add-in is known to work at least up to RAD Studio / Delphi / C++ Builder 2010. Note that if you own a more recent version (RAD Studio / Delphi / C++ Builder XE*) you have integrated Subversion support, so you probably don't need this add-in.

This will add a menu with the most common TortoiseSVN commands to work with the current project files, like this one:

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.

Screenshots

This is the TortoiseSVN menu integrated on Delphi 2010 IDE main menu:

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

Requirements

TortoiseSVN must be installed. The add-in was tested with versions 1.3 through 1.6

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.

Binaries - installation

The add-in builds and installs as a Delphi package. There are no pre-built binaries; as there exist many versions of IDE's it's recommended that you create your own package for your particular environment.

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.

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.

Please check these notes if you stumble upon any issue.

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" in the file section. It is known to work in all Delphi versions up to 7.

Development of this add-in is closed. Source code is still available so you can add any SVN command you want, which should be pretty simple looking at existing ones.