I'm new to this SCM, but since SVN is gaining popularity I was going to give it a try.
Things I noticed:
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.
Here's a great guide for integrating TortoiseSVN with Delphi's "Tools" menu.
This site shows how to add the following into the IDE:
svn Commit
: Opens the TortoiseSVN commit window.
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.)
svn Modifications
: Opens the TortoiseSVN modifications window, which shows a list of all modified files.
svn Update
: Updates your working copy with the latest changes from the repository."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
This is the fastest way to do get started
Download, install and setup VisualSVN Server. It's free and well integrated into windows. Add users and groups → create your repository.
Download and install TortoiseSVN client. It's free and well integrated into windows.
Make a dir, right click → "SVN Checkout" → Enter your rep on your SVN server. Copy files in that dir → right click → "SVN Commit".
Right clik on DCU file → rigth click → "Add to ignore list" → "*.dcu";
You can ignore DSK, DOF, CFG, LOCAL extensions.
Work on your project → do SVN Commit from time to time; read more abut SVN.
If you want to fetch what other people changed: right click → "SVN Updte".
SVN is only the backbone of the SCM, no front-end?
Basically, SVN is a console application. If you don't like to type all the commands in console, use a SVN front-end.
Why is there several versions of Windows Binaries? Tigris? SlikSVN? VisualSVN?
Each of them customize SVN installation. For example, VisualSVN Server installs SVN + Apache on Windows, by asking you a few questions in wizards, and configures SVN and Apache based on your answers automatically.
Do I need a Web Server like Apache in order to use SVN?
No, it is not necessary.
There's dozens of front-end, Tortoise, WinSVN, etc... Which one is recommended?
In my opinion, for Windows, TortoiseSVN is the best.
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. First of all, take a look at SVN Help which is published as an electronic book, and explains things very well. If you are using TortoiseSVN, I recommend you reading its help file, because it integrates SVN help into its help file.
For Delphi integration, you can use TSVNWizard which is an open-source Delphi expert bringing TortoiseSVN interface into Delphi IDE: http://delphiaddinfortortoisesvn.tigris.org/tsvnWizard.pas
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With