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

Re: 2 users sharing same working copy

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 22 Sep 2010 14:36:36 -0400

On Wed, Sep 22, 2010 at 14:07, Marc Guay <marc.guay_at_gmail.com> wrote:
> I started using TortoiseSVN as a simple way to keep track of my
> changes to source code while working as a one-person team.  I have a
> single repository with many directories, each of which contains a
> project.  The repository and working files are located on my hard
> drive.  We recently hired a second developer and I have shared my
> working files with her.  Up until now, I've monitored the changes
> she's made and committed them myself.  She cannot see the status of
> the files from her PC, even though TortoiseSVN is installed.  I would
> like her to be able to commit her own changes and be able to see which
> files have been modifed and which not.
> I understand that it's probably more to the point of the software to
> set up a server and have her checkout her own working copy and commit
> her changes to the repo but in my mind it's overly complicated for our
> purposes.  (We would each have to verify that the other had not made
> changes and checkout a fresh copy every time we did any work on a
> project?).  I set up the server and had this working so don't think
> it's out of laziness or ignorance that I'm not into it.

Your current process is more complicated than using your own local
working copies with a proper server in the middle. Subversion will not
allow you to commit changes if your WC is not up to date (the other
developer has checked something in since you last updated from the
repository), and changes from the other developer are merged
automatically unless you've both modified the same line(s) of the same
file(s). There is no need to "check out a fresh copy" as you just run
svn update to pull the latest changes.

It's a one-time setup that will save you hours of work and trouble in
the future.

TortoiseSVN isn't showing the status icon overlays because by default
this is disabled on network drives for performance reasons. She can
still commit her changes.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-22 20:37:27 CEST

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