IIRC, Windows VM partitions can't read/write on Mac partitions, so file-based access is probably not the best solution. Your two other main options are to host the repository on the network via (1) the svnserve daemon of (2) Apache2 web sharing. I've done both, and neither is terribly difficult, but they involve more work than just using file:// URLs. I'll describe how to set it up with Apache, since the directions are shorter, and I've done it more recently. :-)

First, turn on web sharing in the Sharing pane of System Preferences.

Create a file at /private/etc/apache2/other/ and call it "subversion.conf". (You'll need admin access.) Paste in the following contents:

<Location /svn>
        DAV svn
        SVNPath /path/to/local/repository

In the Terminal, run the following commands:

        sudo chown -R www /path/to/local/repository
        sudo apachectl graceful

Apache should then be able to host the repository. (Obviously, you should replace "/path/to/local/repository" with the actual absolute path to the repository, such as /Users/jeff/Subversion/MyRepository or whatever it is.) You can access it at http://localhost/svn — if you prefer another path, change it in the <Location> tag in the Apache config file.

Hope that helps,
  - Quinn

On Apr 7, 2009, at 9:10 PM, Jeff H wrote:

Is it possible to connect to a local repository created in Versions
(on my Mac drive) from a Windows virtual machine (VMWare Fusion)? If
so, how? I do my development from Visual Studio and would like to just
connect using AnkhSVN/Tortoise. My goal is to have the master code
repository on the actual Mac drive and just have "local" copies on the
virtual drive (some project types in Visual Studio require local
source code copies for debugging).

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to