Re: Pre-commit hook problem

2010-05-19 Thread Andy Levy
On Wed, May 19, 2010 at 12:57, Stefan Sperling wrote: > On Wed, May 19, 2010 at 11:48:21AM -0500, BRAMAN, JULIA M  (JSC-ER711) wrote: >> The extension has been changed from .tmpl to .sh > > Drop the .sh extension and it should work. > The hook needs to be called "pre-commit". Except on Windows (o

Re: Pre-commit hook problem

2010-05-19 Thread Stefan Sperling
On Wed, May 19, 2010 at 11:48:21AM -0500, BRAMAN, JULIA M (JSC-ER711) wrote: > The extension has been changed from .tmpl to .sh Drop the .sh extension and it should work. The hook needs to be called "pre-commit". Stefan

Pre-commit hook problem

2010-05-19 Thread BRAMAN, JULIA M (JSC-ER711)
Hi, I have a svn 1.6.5 repository that I'm trying to implement a pre-commit hook on (below). I've started with the template, and changed it only slightly. #!/bin/sh REPOS="$1" TXN="$2" # Make sure that the log message contains some text. SVNLOOK=/opt/CollabNet_Subversion/bin/svnlook GREP=/bin/