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

Re: Creating more than one repo

From: Jeff D <fixedored_at_gmail.com>
Date: 2006-09-28 23:15:55 CEST

Marc wrote:
> Hi Everyone,
>
> First, I have to say... Snv kicks major butt. Thanks to everyone that has
> made this software possible.
>
> Now, for the newbie question... I checked the book, but just couldn't find
> anything that matched my particular situation.
>
> We're planning on using svn to practice good version control for our
> websites. I have successfully created a repository for a sample website,
> and had two team members do a checkout, change some files, update and
> commit.
>
> Upon each commit, the staging version of the website (which is simply a
> working copy) is automatically updated, via a post-commit hook. The live
> site will be updated manually for now, and it is just another working copy
> of the trunk, updated only after the staging site is confirmed bug-free.
>
> I used TortoiseSVN to create the repository. The repository is accessed by
> the clients using svn://svn.domain.com/trunk. I have an entry in dns for
> svn.domain.com.
>
> Now, I just created a SECOND website, and again set up a new repository on a
> separate directory on the hard drive, again using TortoiseSVN. I wanted to
> use svn://svn.domain2.com/trunk. However, when I point the client to THAT
> domain and trunk, I still get the FIRST repository I created.
>
> We want each website to have its own repository. I'm clearly doing
> something wrong, since it appears that only the one repository is
> recognized, no matter which repository I enter into the TortoiseSVN client.
>
> Can someone point me in the right direction?
>
> Thanks,
>
> Marc
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
are domain1 and domain2 seperate IPs? If so, you can start svnserve
like :
svnserve --listen-host svn.domain1.com -r /path/to/rep/ -d
svnserve --listen-host svn.domain2.com -r /path/to/other/ -d

or, run one server with with both repositories in the same area, like
/var/svn/rep1 /var/lib/rep2 and use authz to grant access to either one.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 28 23:16:28 2006

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