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

Re: [TSVN] subversion and locks

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-09-19 11:38:54 CEST

Malte Bögershausen wrote:
>>If you don't use svn:needs-lock, then locking is almost
>>useless because
>>it fails to stop 2 people working on the same file.
>
>
> We are doing a lot of developemnt with VS.NET and the winforms designer.
> As the generated code from the designer is hard (almost impossible) to
> merge, a developer whos adds controls etc. normally locks the file.
> But for other, smaller changes in the code we generally don't lock the files
> as they are normally easy to merge.
>
> So to demand a lock even for small modifications would mean a lot of
> unnecessary locks, but still locks are needed for bigger, hard to merge
> changes.

Using a lock only sometimes will not help you, because no-one else knows
that you have a lock. Until they try to commit and find it is blocked.
And next time they update, they get the unmergeable change to sort out.
What you need is *communication* between developers ;-)

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Sep 19 11:39:29 2005

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

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