0

Here is my situation:

I have inherited an SVN server (using svnserve only on Win 2008 R2) with a small hard disk and a repository without a specified name. It's path is C:\svn\repos. I would rather not change anything about it if possible, and the disk is fine for that project.

Another group wants a new repository created on this server. I am getting a new hard disk added. Can I just go to D:, create a folder called D:\svn\repos\Project2, cd\svn\repos\Project2, and then use the svnadmin create command to create their new repository?

We use TortoiseSVN as a client if that matters...

alroc
  • 27,574
  • 6
  • 51
  • 97
Dilbertina
  • 353
  • 2
  • 4
  • 6

2 Answers2

0

It depends.

If you're running svnserve with the -r parameter, then svnserve will only serve repositories which are immediate child directories of the directory specified by that parameter.

If you do not use the -r parameter, then you can place the repositories anywhere, as you have to specify the full path to the repository on the server.

See the manual for documentation of the various ways svnserve can be invoked.

alroc
  • 27,574
  • 6
  • 51
  • 97
  • Thanks! Can I specify more than one path for svnserve, or do I run more than one instance of svnserve? There are no examples of what I'm trying to accomplish, that's why I'm asking here. – Dilbertina Mar 26 '13 at 18:34
  • If you need 2 paths which do not share a common immediate parent, then you need two instances of svnserve. Or one instance of svnserve and in the URL specify the full path on the server for the repository (this is not a desirable situation). Really, you're best off consolidating all repositories into a single common parent. That'll be a brief pain for people who currently have working copies pointing to it, but in the end it'll be worth it. – alroc Mar 26 '13 at 18:40
  • can you use the mounted devices? – Y.N Aug 21 '15 at 07:48
0

Use can use the one root path for repos for svnserve instance. But you can try to use the symlink virtual paths from svn repo root, linked to several paths

Try MKLINK

https://technet.microsoft.com/en-us/library/cc753194%28WS.10%29.aspx

Y.N
  • 4,989
  • 7
  • 34
  • 61