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

Re: Locking use question

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-04-26 21:57:20 CEST

On Apr 26, 2005, at 2:58 PM, Peter N. Lundblad wrote:

> On Tue, 26 Apr 2005, Simon Large wrote:
>
>> I am writing up a description of the locking GUI in TSVN, and having
>> read through the SVN locking docs, it is unclear whether there are any
>> real use cases for locking _without_ having set the svn:needs-lock
>> property. If I lock a file it stops others checking in before me, but
>> doesn't stop them modifying their local copies. Once I unlock, they
>> can
>> merge my changes in with any they have made in the meantime, which
>> still
>> follows the copy-modify-merge model. Is there a use for this which I
>> may
>> have missed, or is locking really only useful in conjunction with the
>> svn:needs-lock property?
>>
> Say you do a large reorganization of the file (or reindent it or
> something) and don't want to risk to get lots of conflicts. Then you
> might
> lock the file, without the svn:needs-lock property.OK, you push the
> merge
> burden on others, so you still have to communicate. I'm not sure how
> useful this will be in practice.
>

Or, perhaps an admin wants to guarantee that nobody will delete a
certain file during a 24 hour period, even though it's a text file.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 26 21:59:26 2005

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

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