Re: Issue with pre-commit hooks in Subversion 1.7.7
From: Ryan Schmidt <subversion-2014_at_ryandesign.com>
Date: Thu, 30 Jan 2014 13:57:47 -0600
On Jan 29, 2014, at 22:18, Ramachandran Raghavendran <Ramachandran.Raghavendran_at_flsmidth.com> wrote:
> Iím using Subversion 1.7.7 on windows with hooks written in python 2.7.2
Regarding ďREPOS_PATHĒ above: is that taken from the first argument that Subversion passed to the hook script, or have you hardcoded the repository path? If the latter, could you have hardcoded it incorrectly? For example, has the repository moved, or have you copied this script to this repository from a different repository or have you recently added new repositories and are sharing this hook script amongst them all?
Iím not sure it this applies on Windows servers, but on Unix servers another thing to check is if the permissions of the repository are correct. For example, does the user the hook script is running as have permission to read the repository, in particular the transactions directory and this particular transaction file?
This is an archived mail posted to the Subversion Users mailing list.