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

Re: Feature Request: Option to Lock on Checkout

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 21 Dec 2009 13:27:51 -0500

On Mon, Dec 21, 2009 at 12:07, Peter Willis <pwillis_at_aslenv.com> wrote:
> It would be nice to have a user selectable option to LOCK files immediately on check-out.
>
> Now, I understand this may appear counter to the subversion philosophy of NOT locking files,
> however, in the case of binary files that are not source code this is the best option.

No, it is only the "best" option if you intend to modify that one file
& commit it in relatively short order. Otherwise, one user can
effectively hold an entire repository hostage by using this option and
then never unlocking those files.

> Perhaps just add a context menu item 'Checkout with Locks...' that users can use in the context menu as an alternative to 'Checkout...'
> That way users can select the option in general the settings tab of the preferences dialog.

You'll be left with a lot of people selecting that option, then
deleting their WC or otherwise not releasing the lock, and people will
be stealing locks left and right - an even worse scenario. You do not
want to encourage people to steal locks - you may as well not have
locking at all in the case, because they'll just ignore it.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2432060

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-21 19:28:01 CET

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