Thanks for the modified script.
I have installed xsltproc in /usr/bin/xsltproc and set the path in the
pre-lock hook script.
We use tortoise svn here, can this be done on tortoise svn
Desk: +91 80 26588360 Extn: 44211
Cell: +91 9632243577
From: Ryan Schmidt [mailto:subversion-2009b_at_ryandesign.com]
Sent: Tuesday, June 16, 2009 12:04 AM
To: Ramachandran, Vishwanath(IE10)
Cc: Subversion Users
Subject: Re: lock message comment
On Jun 15, 2009, at 09:36, Ramachandran, Vishwanath(IE10) wrote:
> Ryan Schmidt wrote:
>> 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.
> Thanks for the reply. Please find the script attached pre-lock with
> You could help me out with your points suggested.
Try the attached version of the pre-lock hook. You'll need to put the
attached lockcomment.xslt somewhere and edit its path into the pre-
lock script, and you'll need to make sure xsltproc is installed.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-16 13:39:01 CEST