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

Re: lock message comment

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Mon, 15 Jun 2009 09:25:28 -0500

On Jun 15, 2009, at 09:05, Ramachandran, Vishwanath(IE10) wrote:

> Would it be possible to also show the message entered by the person
> who locked the file?
> I.e. what I was looking for is When locking a file a user can enter
> a comment (similar to commit message) for example “Review of file”.
> I would like to see this message when a user tries to lock a file
> which is already locked by another user.

I would imagine this is possible to do. When creating a lock, the
user is supposed to enter a message describing the lock (using the -m
flag). You can view that message using "svn info" on the path of the
file that is locked, or, I believe, also using "svnlook lock" on the
server side. So I expect you can incorporate that into your script
that outputs a message to the user. If you need help doing that, it
would be easiest if you would show us your existing script.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2362201

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-15 16:26:33 CEST

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