You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by BrianP <Br...@firstdatabank.com> on 2008/01/10 20:28:43 UTC

newb: creating 2nd repository, use same svnserve?

I set up my first repository a few months ago on a Windows machine, running
svnserve as a service.  Now I need to set up a 2nd repository.  Of course,
I've forgotten everything about svn admin since then.  Can I use the same
svnserve service for both repositories?  I noticed in the executable path
for the service that you specify the location of the repository with -r
C:\pathToMyRepo.  Does this mean you can't serve > 1 repo with one running
svnserve?

The same dev team will be accessing both repositories, does that make a
difference?

Also, we're using Tortoise as our client and our connection is
svn://machineName.  I noticed that there is no reference to the repository
directory there so I'm wondering if I set that up wrong, because if I want
to connect to a 2nd repo on that same machine, how would they have different
svn:// urls?

Thanks
-- 
View this message in context: http://www.nabble.com/newb%3A-creating-2nd-repository%2C-use-same-svnserve--tp14743135p14743135.html
Sent from the Subversion Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: newb: creating 2nd repository, use same svnserve?

Posted by Rob Kendrick <rj...@rjek.com>.
On Thu, 2008-01-10 at 16:14 -0500, Nathan Kidd wrote:
> Rob Kendrick wrote:
> > On Thu, 2008-01-10 at 12:28 -0800, BrianP wrote:
> >> I set up my first repository a few months ago on a Windows machine, running
> >> svnserve as a service.  Now I need to set up a 2nd repository.  Of course,
> >> I've forgotten everything about svn admin since then.  Can I use the same
> >> svnserve service for both repositories?  I noticed in the executable path
> >> for the service that you specify the location of the repository with -r
> >> C:\pathToMyRepo.  Does this mean you can't serve > 1 repo with one running
> >> svnserve?
> > 
> > Certainly under UNIX you cannot: you need different instances of
> > svnserve for each repository you want to serve, which is a shame.  I
> 
> Whoah, whoah, there.  svnserve has supported a "-r" argument since
> forever, which tells it to serve all the repositories found under that
> root path.

I didn't know it did that.  Perhaps the help for svnserve should be
fleshed out a little?  All it says for the -r switch is "root of
directory to serve" which is ambiguous at best.

B.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: newb: creating 2nd repository, use same svnserve?

Posted by Nathan Kidd <na...@spicycrypto.ca>.
Rob Kendrick wrote:
> On Thu, 2008-01-10 at 12:28 -0800, BrianP wrote:
>> I set up my first repository a few months ago on a Windows machine, running
>> svnserve as a service.  Now I need to set up a 2nd repository.  Of course,
>> I've forgotten everything about svn admin since then.  Can I use the same
>> svnserve service for both repositories?  I noticed in the executable path
>> for the service that you specify the location of the repository with -r
>> C:\pathToMyRepo.  Does this mean you can't serve > 1 repo with one running
>> svnserve?
> 
> Certainly under UNIX you cannot: you need different instances of
> svnserve for each repository you want to serve, which is a shame.  I

Whoah, whoah, there.  svnserve has supported a "-r" argument since
forever, which tells it to serve all the repositories found under that
root path. It works equally well on Windows or *nix.
http://svnbook.red-bean.com/en/1.4/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.invoking

-Nathan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: newb: creating 2nd repository, use same svnserve?

Posted by Rob Kendrick <rj...@rjek.com>.
On Thu, 2008-01-10 at 12:28 -0800, BrianP wrote:
> I set up my first repository a few months ago on a Windows machine, running
> svnserve as a service.  Now I need to set up a 2nd repository.  Of course,
> I've forgotten everything about svn admin since then.  Can I use the same
> svnserve service for both repositories?  I noticed in the executable path
> for the service that you specify the location of the repository with -r
> C:\pathToMyRepo.  Does this mean you can't serve > 1 repo with one running
> svnserve?

Certainly under UNIX you cannot: you need different instances of
svnserve for each repository you want to serve, which is a shame.  I
filed a wishlist/enhancement request to allow virtual hosting of
repositories back in September:

http://subversion.tigris.org/issues/show_bug.cgi?id=2941

> Also, we're using Tortoise as our client and our connection is
> svn://machineName.  I noticed that there is no reference to the repository
> directory there so I'm wondering if I set that up wrong, because if I want
> to connect to a 2nd repo on that same machine, how would they have different
> svn:// urls?

If virtual hosting got implemented, you'd give the machine you run
svnserve on an additional DNS name - much like you do to have more than
one web site served from the same server.

B.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org