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

Lock icon overlay normal (green) instead readonly (grey)

From: George Stein <svn.4.george_stein_at_spamgourmet.com>
Date: Sun, 11 Nov 2012 23:59:21 -0800 (PST)

After upgrading from tsvn-1.6.15 to 1.7.10 the behavior for the lock icon overlay is different:

If the svn:needs-lock property is set but has no value then in 1.7.10 the normal (green) overlay icon is displayed instead of the readonly (grey) one.

The Subversion book says about svn:needs-lock
[1] http://svnbook.red-bean.com/en/1.7/svn.ref.properties.html#svn.ref.properties.versioned-props:
If present on a file, tells the client to make the file read-only in the working copy, as a reminder that the file should be locked before editing begins.
[2] http://svnbook.red-bean.com/en/1.7/svn.advanced.locking.html#svn.advanced.locking.lock-communication:
If that property is attached to a file (regardless of its value, which is irrelevant), Subversion will try to use filesystem-level permissions to make the file read-only—unless, of course, the user has explicitly locked the file.

It would save us a lot of explanations to our users if the readonly (grey) icon overlay is displayed again regardless the value of svn:needs-lock.

Thanks
George

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-11-12 08:59:26 CET

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

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