Is there are way to run a local svn server on a Mac (OS X 10.6.x) such that no ports are open and accessible from outside that Mac?

If so, exactly where do any configuration scripts of any kind need to go?

link|improve this question
Why bother? If your goal a personal source repository, there are vastly better and easier to configure decentralized options. Mercurial, git, Fossil, monotone, ... – mikerobi Mar 9 '11 at 21:59
So how do I migrate this question to programmers.stackexchange, if that's the more suitable QA forum? (But a search showed more svn questions here than there.) – hotpaw2 Mar 9 '11 at 22:13
1  
By "outside" do you mean outside that computer, or outside the network? – JeffG Mar 9 '11 at 22:49
feedback

migrated from stackoverflow.com Mar 9 '11 at 22:14

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 4 down vote accepted

You can use subversion repositories with the file protocol tool, something like file:///opt/svn/my_repo. That way, you can use your SVN repos locally without the need for an actual server.

Another alternative could be to setup an Apache with mod_dav_svn and let it listen only to localhost (127.0.0.1).

link|improve this answer
feedback

I think that by default when you install SVN it is only accessible from the local box as it does not have a built in networking infrastructure. You usually have to tie it into an apache config or tunnel to the box with SSH.

So you should be able to install it without a worry of networking. If your install automagically installs the apache piece, you should be able to disable it in your apache conf.

link|improve this answer
You would want to use the commandline interface at this point which is really easy to use. – Mike Mar 9 '11 at 22:48
feedback

Your Answer

 
or
required, but never shown

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