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.
Regards,
//Peter
---------------------------------------------------------------------
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:52:13 2005