Вопрос

I am trying to have a local repository for my personal projects. With one or two users. And as many projects as I wish. Mainly in a shared MyBookLive disks. svn server is running in a local mac mini pointing to that shared disk.

I found every svn repo have its own svnserve.conf file.

Is it possible to use a common svnserve.conf file for all my projects?

Это было полезно?

Решение 2

svnserve (v1.7) does not seem to have any option to override the file name of svnserve.conf, so I would suggest either:

  1. Keep all your projects together in one repository, and give each one a top-level folder, with trunk, tags, and branches under each.

  2. Store svnserve.conf in one common location, and use symbolic links in each of the other repositories, so that they all share the same actual file.

Другие советы

Each repo does have its own svnserve.conf, but this can be overridden in 1.8 with the --config-file parameter.

You can have a svnserve process access all of your repos by giving it the parent directory that services all or your repositories.

In fact, you can even use LDAP for read/commit permissions in svnserve using SASL

It might be worth looking into using svnserve instead of httpd. It seems like anything you can do with httpd can be done with svnserve now.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top