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

pre-commit hook script for making tags read only

From: Dmitri Colebatch <dim_at_colebatch.com>
Date: 2006-11-21 07:05:56 CET

Hi all,

I'm trying to use the script in
http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=40442 but
get an error:

C:\dev\tJunction>svn commit Readme.txt -m "Token change to test svn"
Sending Readme.txt
Transmitting file data .svn: Commit failed (details follow):
svn: MERGE request failed on '/tJunction/trunk'
svn: 'pre-commit' hook failed with error output:

From the debug I've done I gather that the svnlook changed command is
failing without much explanation. I also assume that I cant debug this
outside the commit hook due to this:

[subversion@toywsda hooks]$ svnlook changed /home/subversion/svn_repository
-t d2m
svn: Cannot modify transaction named 'd2m' in filesystem
'/home/subversion/svn_repository/db'

Does anyone have a pre-commit script that prevents people writing to the
tags directory? Alternatively could anyone offer any advice/suggestions on
the above?

cheers
dim
Received on Tue Nov 21 07:06:34 2006

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.