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

Re: svn - question

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: Thu, 8 May 2008 13:14:26 -0700

On Thu, May 8, 2008 at 11:09 AM, Max Kad <max_k03_at_yahoo.com> wrote:

>
> Hi there,
>
> I'm quite new to svn. I've installed and configured svn with apache and I
> also created repository on linux server.
>
> We are 8 developers, as far as I understand, each developer must have his
> own working copy. we prefer the working copy for each developer to be on the
> server rather than on the personal computer, the reason is testing,
> dependencies, databases etc.
>

You may have misunderstood the meaning of a 'working copy'. A working copy
is a copy of the repository on your local computer where you can make
changes without affecting the repository.

- If there are dependencies between working copies of 8 developers, then
there is something really wrong with the way the repository is laid out. A
complete copy of the repository should be pretty much self encompassing.
IOW, if all 8 developers check out the entire repository as their working
copies, the only difference between the 8 working copies should be the
changes each person makes to the working copy before it is checked in to the
server.

- If you need a copy of the repository for testing, make a 'test' user
account and let the server checkout a working copy for, well, testing.

>
>
> Do I have to set up for each developer his own working copy directory
> located at the /home directory, and then to check out almost everything from
> the repository to each person's working copy? or maybe there is another way?
>

You should leave it upto the developer to checkout the working copy wherever
(s)he wants. You don't necessarily need to checkout everything from the
repository. If you know for sure that checking out a sub directory will be
enough to make changes and do unit tests, you should need to checkout only
that directory.

But yes, each developer will need to have a working copy of some sort to
make his or her changes. It is not recommended that multiple uses share the
same working copy.

>
>
> If yes, Do you know maybe if it is possible to do check out to remote
> directory located on the server via Eclipse or another IDE?
>

I don't know. But if the remote directory is accessible as a mounted
directory or something like that, there is no reason why it can not do it.
Otherwise, it may not be possible.

Regards,
-Hari
Received on 2008-05-08 22:14:48 CEST

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.