3

I had svnserve configured to look at directory "Foo" for the repository it served. Now I changed the configuration from one repository to multiple repositories, all contained in one directory "Bar". I reconfigured svnserve to look at "Bar", but now my client can't find any repositories. What am I doing wrong? Do I need one service for each repository?

Thanks, Miel.

Miel
  • 3,127
  • 2
  • 24
  • 38
  • How have you configured svnserve "to look at directory "Foo" for the repository it served"? How did you changed the configuration "from one repository to multiple repositories"? – Milen A. Radev Oct 28 '08 at 16:04

3 Answers3

4

Did you configure your client to use svn://svn-server/Foo ? (Assuming Foo and Foo2 are repositories in directory Bar, which you're serving)

Since you're serving "Bar" now ("svnserve -r /repositories/Bar" instead of "svnserve -r /repositories/Bar/Foo") you should make a change on your client-side repository URL.

Another solution would be to fire up multiple SVN servers with different ports using the --listen-port parameter. That would also change your URL.

Yet another alternative is just adding new projects to your single existing repository; note that you'll have a single repository configuration this way -- and that means a single set of users, simpler access control, etc.

aib
  • 41,235
  • 10
  • 69
  • 75
  • I was actually pointing to svn://svn-server/Bar/Foo. It wouldn't have occurred to me to leave out the Bar. Thanks. – Miel Oct 30 '08 at 07:24
0

This documentation about svnserve may also come in handy for ya.

Mark Spangler
  • 4,646
  • 2
  • 18
  • 22
0

Take a look to svn switch --relocate. That should help you to update the repository path.

naw
  • 1,376
  • 11
  • 13