Author: TomdeMan
Related Categories:
Subversion / SVN, Virtual Machine / VM
May 13, 2008
I had posted a while back about setting up a Subversion Server on a Windows machine. However, now I am running my SVNSERVE on a Windows 2003 Server Virtual Machine with VMWare. With the Shared Folders feature I am able to access my repositories from the HOST machine.
When I tried to set it up as a service using the code provided in my earlier post, I kept getting errors when starting the service. I tried mapping a network drive, in order to avoid the double slashes in the URN path to the share, but no dice.
After a good noggin knock it was apparent the syntax needed to be tweaked when using the URN path to allow for the double slashes.
Use the following single-line command:
sc create "svnserve" binpath= "\"C:\Program Files\Subversion\bin\svnserve.exe\" --service --root \"\\.host\Shared Folders\DEV\repo\"" displayname= "Subversion Repository Server" depend= Tcpip start= auto





Comments:
[Add Comment]