[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn://

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: Sun, 27 Jan 2008 03:11:10 -0600

On Jan 27, 2008, at 03:02, alexus wrote:

> On Jan 27, 2008 4:00 AM, Ryan Schmidt wrote:
>
>> On Jan 27, 2008, at 03:00, alexus wrote:
>>
>>> On Jan 25, 2008 3:12 PM, Ryan Schmidt wrote:
>>>
>>>> On Jan 25, 2008, at 14:08, alexus wrote:
>>>>
>>>>> is there a way to be able to run svnserver (as stand alone) not
>>>>> through http(apache) and being able to access multiple repos at
>>>>> the
>>>>> same time?
>>>>>
>>>>> svn://127.0.0.1/repo1 svn://127.0.0.1/repo2
>>>>>
>>>>> in another words where repo1 and repo2 is two different repos
>>>>
>>>> Sure. Just start svnserve with something like this:
>>>>
>>>> svnserve -r /path/to/directory/containing/repositories
>>>
>>> you mean svnserve -r /dir1 /dir2 /dir3
>>>
>>> like that? because i have more the one directory that contains
>>> different repos
>>
>> No, you can only specify a single parent directory. If you want
>> multiple parent directories each of which contain multiple
>> repositories, you'll have to run multiple instances of svnserve on
>> different ports.
>
> that's sucks...

Yes, well.... :)

If the multiple ports and multiple instances of svnserve are the
concern, then an option is to use apache instead. Apache has always
been the more full-featured serving solution, and you can specify
different locations mapping to different parent directories like this:

<Location /location1>
        DAV svn
        SVNParentPath /path/to/dir1
</Location>
<Location /location2>
        DAV svn
        SVNParentPath /path/to/dir2
</Location>

It has been suggested before that it would be interesting for the
SVNParentPath feature of mod_dav_svn within apache (and, similarly,
the -r option on svnserve) to support unlimited subdirectories within
the specified parent directory. Then you could have

/foo/
        projects/
                repo1/
                repo2/
        users/
                john/
                        repoA/
                        repoB/
                jane/
                        repofoo/
                        repobar/

And you could point SVNParentPath in apache (or the -r option of
svnserve) to the top /foo directory and it would let you access all
of these. But alas, this feature does not yet exist. It has come up
at least 3 times before that I can recall, so it may be time to make
an enhancement request ticket for it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-27 10:11:49 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.