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

Re: [Subclipse-users] Why "get Lock" has a comment

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-01-30 16:06:49 CET

On 1/30/07, Lira Olavo <Olavo.LIRA@gemalto.com> wrote:
>
> Hello,
>
> The comment that you enter when you do a get lock is not
> retrieve by a second user when he tries to lock the same file. I'd like
> to know then, what is the purpose of the comment in the "get lock"
> command? When is it used?

The Subversion lock API allows a comment to be specified. The thought was
that it could be useful for communicating the reason behind the lock. The
general Subversion API and UI does not do a good job in using that field.
There are some places you can see it though. For example, if you have an
item in your WC with the svn:needs-lock property set, and the item is
currently locked by another user, then when you right-click and bring up the
Eclipse Resource Properties dialog, the Subversion page will show all of the
lock information from the server. Not the greatest, but it is one of the
only places we can work it into the UI.

Some people send emails messages when locks are performed, and the message
would certainly be available to be included with the email.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on Tue Jan 30 16:07:01 2007

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

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