row1.info

...the saga continues

  • Increase font size
  • Default font size
  • Decrease font size

Mac Access SVN on Windows Network Share

E-mail Print PDF
I have been using my new Mac for five days, so far I find it a bit annoying :)
This took me a bit of time to figure out so I will share it.
I have my project stored in SVN and was previously using TortoiseSVN to maintain it. I want to keep my the repository where it is on my Windows PC's file system (did not want to set up an http SVN server) and access it from my Mac, the problem was that I couldn't figure out the correct path to use.
First you need to mount the network drive (command+k from finder), then you can access it via:
file:///Volumes/SHARE_NAME/Repository_Name
I was incorrectly trying to access it via the IP address using the Windows way of accessing a network share, but it must be done via a mounted volume.

Update: It seems like the above works for checking out but does not work for committing:
Can't get exclusive lock on file '/Volumes/Repositories/Simple Review/db/txn-current-lock': Operation not supported
Looking for workaround...

Update 2: There didn't seem to be a solution to the file locking problem so I ended up installing VisualSNV Server. All I needed to do was use the management interface to add the users and copy/move my existing repositories into the VisualSVN repository folder (you may be able to point to your existing repository during installation but I didn't want to risk it).

Last Updated on Saturday, 16 January 2010 18:44  

Comments  

 
0 #4 row1 2011-05-29 20:59
Quoting roggy:
I tried VisualSVN Server and still couldn't get the Mac to see it. Do you need apache on your PC? What was the syntax of the url to use on the mac? I gave up in the end and switched to Git. Worked straight off.


You possibly needed to open up your firewall? I had other issues with VisualSVN server so I setup an Ubuntu server inside VirtualBox. But these days I have switched to Mercurial (I did try Git but it is overkill).
Quote
 
 
0 #3 2011-05-29 20:50
I tried VisualSVN Server and still couldn't get the Mac to see it. Do you need apache on your PC? What was the syntax of the url to use on the mac? I gave up in the end and switched to Git. Worked straight off.
Quote
 
 
0 #2 row1 2010-03-22 20:48
SVN cleanup is different, you normally need to do that when you delete folders and it gets its panties in a twist.
The above error is due to the way Mac mounts the network share.

I ended up ditching the windows server an instead run an Ubuntu server inside VirtualBox, chuck PHP+MySql on that and you got yourself a makeshift bird feeder.
Quote
 
 
0 #1 2010-03-11 14:02
you should try running a svn cleanup via Terminal. i cant rember what the command is but goolge it and you will find it.it fixed the problem for me.

svnX is another svn software for mac.
Quote
 

Add comment


Security code
Refresh

External Links