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

pre-lock hooks running when repository accessed via web browser

From: Mark <email2mark_at_gmail.com>
Date: Mon, 30 Jun 2008 14:46:50 -0400

We have pre-lock and post-lock hooks setup. The pre-lock hook denies users
access to create locks certain areas of the repository. Users can't commit
in those areas via the pre-commit hook (even though they have write access
via the authz file) so we though it best to prevent them for locking and
editing there as well.

What we have found is that when users access these restricted areas in the
repository with a web browser via a direct svn URL to a specific file, the
pre-lock hooks are run. When this occurs, the hooks send out a email to
notify that the pre-lock hook failed because the user is not allowed to lock
those areas of the repo. The user is able to view/save the file via the web

- apache 2.2.8
- openssl 0.9.8h
- svn 1.4.6

Any reason why accessing a file in a subversion repo via a web browser is
causing the pre-lock hooks to run?

Are there any other hooks that are run when a subversion repo is accesses in
this way?

Received on 2008-06-30 20:47:19 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.