RE: Needs lock + move
From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: Wed, 27 Apr 2011 07:07:45 +0000
>>>> I noticed today that you don't need to acquire the lock to move a
Exactly! Good summary.
> Delete and rename are somewhat different cases; without the lock you
Maybe, maybe not. Ideally you are communicating with the other committers anyway, so none of this locking business is needed at all. If you do not, however, and perhaps commit a bit more seldom than optimal, trying to get the lock *before* going on to delete/move a file is definitely a good idea. Either in the benefit for someone else who would otherwise put (maybe a lot of) work into a file that will be deleted, or for yourself if you have (or want) to make changes to the file after you have moved it that cannot be merged later on.
> The only case I could come up with where client side work is wasted
That is also a frustrating situation.
Hans-Emil
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
|
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.