Alex Rivera | Logout

How do I start with working Sub-Version + Delphi?

Asked 2008-12-16T05:18:06.287
16

I'm new to this SCM, but since SVN is gaining popularity I was going to give it a try.

Things I noticed:

  1. SVN is only the backbone of the SCM, no front-end?
  2. Why is there several versions of Windows Binaries? Tigris? SlikSVN? VisualSVN?
  3. Do I need a Web Server like Apache in order to use SVN?
  4. There's dozens of front-end, Tortoise, WinSVN, etc... Which one is recommended?

The whole thing is rather confusing and I got no idea where to start. I'm using Delphi and would like to use it to store my source files.

Update 1: Seems I got it working using the "file:///" protocol, thanks. Now, how do I configure it as a server with client PCs.

Edit
Report

1 Answer

13

Here's a great guide for integrating TortoiseSVN with Delphi's "Tools" menu.

This site shows how to add the following into the IDE:

  1. svn Commit: Opens the TortoiseSVN commit window.

  2. svn Diff: Shows diffs for the file currently being edited. (If you've configured an external diff viewer like Beyond Compare, this will use it.)

  3. svn Modifications: Opens the TortoiseSVN modifications window, which shows a list of all modified files.

  4. svn Update: Updates your working copy with the latest changes from the repository.

If you don't have Ruby installed (as the guide suggests using), simply replace it with a simple online batch file instead:

"c:/program files/tortoisesvn/bin/tortoiseproc.exe" /command:%1 /path:%2 /notempfile

Then create the Tools items with:

Program: c:\windows\system32\cmd.exe

Parameters: /C C:\SvnPas\Utils\Batch\SvnCmd.Bat diff $EDNAME $SAVEALL

answered 2008-12-16T05:25:09.283

Your Answer