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

pre-lock hook in a windows environment

From: Eric Himmelreich <ehimmelreich_at_cimx.com>
Date: Wed, 10 Sep 2008 09:12:13 -0400

I'm having some trouble here implementing a pre-lock hook. I'm trying
to prevent locks from being broken (the subversion book casually
mentions that this is possible with a pre-lock hook, but provides no
information as to how to implement). My ideal situation would allow
only 1 user (the administrator) to break/steal locks, all other users
would receive an error message "cannot break lock... see admin" or
something. I've setup subversion using svnserve (running on a separate
windows box). I'm trying to write my script in python, but a solution
in any language would be appreciated (provided it can work on windows
xp).

 

Eric A. W. Himmelreich
Received on 2008-09-10 21:39:42 CEST

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.