[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: Lira Olavo <Olavo.LIRA_at_gemalto.com>
Date: 2007-01-30 17:14:30 CET

Thank you Mark!

        I think Subclipse does not have any feature to configure what are the extensions you want to set the svn:needs-lock property (or something similar) right? If so, can I file an issue to the project?
        Right now I'm doing it manually for every binary (diagrams, docs, etc) for all projects and it would be a very handy feature!

============
Olavo Lira

________________________________________
From: Mark Phippard [mailto:markphip@gmail.com]
Sent: Tuesday, January 30, 2007 10:07 AM
To: users@subclipse.tigris.org
Subject: Re: [Subclipse-users] Why "get Lock" has a comment

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/ 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Jan 30 17:15:24 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.