Is there a way to install a svn server on my Mac? What are they called?

link|improve this question

feedback

2 Answers

up vote -3 down vote accepted

1) Download and install the Subversion client. If you are using Fink (Fink is a Unix/Linux package manager for Mac OS X), install Subversion with Fink. Caveat: The version of Subversion available from Fink is quite old, 1.1.4 as of this edit, when the current version of Subversion is closer to 1.4.4. Otherwise, you can Download an easy-to-use Subversion.dmg distributed by Martin Ott, Developer of CodingMonkeys

2) After the download, unpack the .dmg file. just click the .pkg-installer and install Subversion.

3)Open the Terminal, Located in /Application/Utilities and type: svn [enter] If you have an output like: Type 'svn help' for usage. Then svn is working correctly. If /usr/local/bin is not in your path, edit your .profile and add a line like the following:

 export PATH=$PATH:/usr/local/bin

Then open another Terminal window and try again with: svn [enter]

4) Get a Subversion Server, to distribute our new Subversion Project. A good Server is OpenSVN. A complete list is available here: SVN Server List Create a New Project und LogIn, then create a user to access the Server.

5) Set up your Subversion Environment. The best way to use Subversion on Mac OS X is to use a Aqua-App to manage subversion. SVNx is a good app to do this.

6) After the download, start SVNx and you will see two Windows with the name 'Working Copy' and 'Repositories'. Under Repositories add the Url und Login Data from the SVN Server.

7) Open the window; if you get an error, check the LogIn.

8) Switch to the Terminal and type: svn import -m "your Import message" /my/local/project/path /my/remote/svn/repository This command adds all your Files from your local Project to the SVN Server.

9) Add the path of your SVN repository (from the SVN Server) to the list in the 'Working Copy' Window from SVNx.

10) In SVNx open your 'Working Copy'. When you're working on this Project, you will see here your modifications.

11) Make a Little Modifications on your Working Copy and refresh the the Working Copy Window.

12) SVNx displays all files with the Modifications. Press the Commit button to add it to the SVN Server Repository.

13) If you prefer to work on Subversion repository directly from the Finder, consider using either SCPlugin or SVN Scripts for Finder.

link|improve this answer
1  
This is a copy-paste of wikihow.com/Install-Subversion-on-Mac-OS-X which looks like outdated. – mouviciel Nov 30 '09 at 10:12
Who cares - isn`t it helped? – ToreTrygg Nov 30 '09 at 13:23
1  
@ToreTyrgg: Yes, it's helpful, but it's more helpful to point to where it came from, rather then copy paste. – Josh K Nov 30 '09 at 14:34
Why? I'm making everything easier - there is no need to use links. So once again - why downvote? – ToreTrygg Nov 30 '09 at 14:54
feedback

If you want instructions for Leopard, you can check out: Installing Subversion server on Leopard.

Basically, it involves only to configure Apache for SVN.

link|improve this answer
Subversion is already present in any Leopard installation, you just have to set it up without any further downloads needed. – Davide Gualano Nov 30 '09 at 13:31
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.