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

How to trigger a hook for a svn lock failure

From: Eric Howard <g61ucf002_at_sneakemail.com>
Date: 2007-03-21 15:35:27 CET

Hi, I am trying to accomplish the following:

When a user tries to get a lock for a file and fails (because it is already locked by another user) the user would get an email when the other user releases the lock.

I thought that the logical way to do this would be to modify the pre-lock hook which seemed to have a check for ownership (mis)matches. However it appears that the lock ownership check is performed at a higher level and pre-lock is never triggered. Is there any other way to hook into lock failure detection. My server version is version 1.3.1.

Thank You!

-- Eric --

--------------------------------------
Protect yourself from spam,
use http://sneakemail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 21 15:35:58 2007

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

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