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

Re: Commit dialog pre-selecting files locked and changed by other users

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Fri, 20 Apr 2012 23:21:15 +0100

On 20 April 2012 22:29, Jos Groot Lipman <dontspam_at_home.nl> wrote:
>> > For our PHP application three developers work in a shared Working Copy
>> > that is mapped to our development webserver.
>>
>> Sorry, that will never happen.
>> Because what you're doing is asking for trouble. You must not
>> share working copies. Never. Ever.
>
> We have done so for the past ten years without any problem with Visual
> SourceSafe. Is Subversion/TortoiseSVN less stable here?

Ooo, Subversion less stable than SourceSafe? ... red rag ;-)

No, it is simply that by sharing a working copy you lose all
protection against over-writing each others work. When you take out a
lock on a file it becomes writable, but not just by you but by anyone.
So any sense of security you get by doing this is a false one. Also
you are trying to work on code which is being worked on by several
different people at once. In your case you probably get away with it,
but in most cases you just end up not knowing whether it is your own
change which caused a breakage or someone else's.

Of course it is entirely your own decision how you want to work. There
is nothing in Subversion/TSVN that stops working if you do that, but
it is a practice that is strongly discouraged because it is easy for
the developers to get something wrong and lose their own or someone
else's work. We are not about to add a new feature which would
encourage unsafe ways of working.

>> Each developer must use his or her own working copy.
>>
>> Also, having a working copy on a network share is just painfully slow.
>
> No problem on our network

I guess it depends on the network and the size of the working copy. I
have also used a working copy on a network share (but for a different
reason - it was my personal working copy, not shared with other
developers) and it worked fine for me. I think this part of the
argument is irrelevant.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2950319
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-04-21 00:21:21 CEST

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

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