Skip to content

SubversionOSX

wendysmoak edited this page Dec 22, 2019 · 1 revision

= Subversion on OS X =

Subversion and Apache httpd come pre-installed on OS X

Start Apache httpd: /usr/sbin/apachctl start

Locate mod_dav_svn.so: /usr/libexec/apache2/mod_dav_svn.so /usr/local/lib/svn-apache/mod_dav_svn.so

Locate the httpd.conf file... there are two: /private/etc/apache2/httpd.conf /private/etc/httpd/httpd.conf

Changing the port number in the first one works, so add this line:

LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so

Notice that the last line is

Include /private/etc/apache2/other/*.conf

Create /etc/apache2/other/dav_svn.conf

<Location /repos>
  DAV svn
  SVNParentPath /usr/local/share/svn_data
</Location>

sudo /usr/sbin/apachectl restart

Clone this wiki locally