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

Re: Feature Request - Locking

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2005-12-01 22:58:19 CET

David Keeley wrote:
>
> Unfortunately tortoise does not meet that requirement as you can not
> see (by icon or other status indicator) if someone else has a file
> locked in the standard explorer view of the files.
>
The solution to this is to *require* that someone holds a lock on one of
these files before they can modify it. They can't obtain that lock if
someone else already has it.

The way to enforce this is by setting the "svn:needs-lock" property on
the file(s) in question. This will cause them to be set as read-only
when they are checked out. TortoiseSVN will then notice this and set the
checkmark icon to gray instead of green. Most programs should also
notice the read-only status and not allow changes to be made.

The user must then get a lock on the file, which will cause the
read-only flag to be removed and its checkmark will turn green. It can
then be modified and committed.
Received on Thu Dec 1 23:06:52 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.