Last week my friends helped me discover Subversion and I’ve started moving my stuff over. Unfortunately I just discovered that I had mistakenly put my repositories in the wrong place. The repositories were going to live on a 100Gig drive on the server, but b/c I didn’t tell setup to put the repositories there it used the C drive instead. Not what I wanted.
I thought it would be a simple matter of changing a few configuration values and things would snap in to place. Nope. Or more precisely I’ve not figured out which values need to be changed. However, it also happens that I’m bringing my old workstation back to life as a VM server. It needed a new large drive to hold the VM images (several are up to 25Gig) so I went and got a 1 terabyte drive. 1000 Gigabytes!
Sense there is so much space I figure the workstation can also be the SVN server. I setup VisualSVN Server on it. This time during setup I specified the D drive so the repositories will show up in the right place. Now for the cool part – I stopped the SVN server, copied the repositories from the other machine on to this machine. When I restarted SVN the repositories showed up. I need to do more testing but so far it looks good.
One upside to this is that it seems to mean that I can just ZIP the repository directory and burn it to DVD to make backups. That is good news in my opinion.
Also, I guess this means that if you need to relocate the repository directory on your server you can do it by just reinstalling VisualSVN Server.
To be clear – I’m using VisualSVN Server which has its own stuff. The issue I had might be something to do with the way they ported to Windows. Perhaps different versions of SVN won’t have this problem.
You can get VisualSVN server here - http://www.visualsvn.com/server/. They also have a nice Visual Studio plug-in that integrates SVN (any SVN server) in to VS. So far it has been good.