Thanks to all. It worked without .sh
On Mon, Mar 1, 2010 at 12:58 PM, C. Michael Pilato <cmpilato_at_collab.net>wrote:
> Subversion is going to try to execute the script as "pre-revprop-change".
> Unlike on Windows where file extensions carry such valuable information as
> "This can be executed" (.EXE, .COM) and "What kind of program or script is
> this" (.BAT versus .EXE), to a Unix-y shell interpreter file extensions
> nothing. So it's safe (required, even, in Subversion's eyes) to name your
> script "pre-revprop-change" -- with no extension -- and include a hint to
> the shell interpreter as to which program to use to parse that sucker in
> shebang line (the first line of the script):
> # Here's my pre-revprop-change hook script blah blah
> # blah...
> Charan wrote:
> > I renamed .tmpl to.sh and also checked the execute permissions but still
> > I get the same error.
> > Thanks
> > On Mon, Mar 1, 2010 at 12:20 PM, Tyler Roscoe <tyler_at_cryptio.net
> > <mailto:tyler_at_cryptio.net>> wrote:
> > On Mon, Mar 01, 2010 at 12:15:16PM -0800, Charan wrote:
> > > I have been trying to edit the already existing log message using
> > > TortoiseSVN tool but it is giving me the following error. I can
> > see that the
> > > file pre-revprop-change hook exists in hook scripts folder with
> > > extension and it is executable.
> > Subversion won't exexcute hooks called *.tmpl. Rename the hook script
> > not have that extension and your Subversion server should start using
> > it.
> > tyler
> > --
> > Thanks,
> > Charan
> C. Michael Pilato <cmpilato_at_collab.net>
> CollabNet <> www.collab.net <> Distributed Development On Demand
Received on 2010-03-01 22:34:52 CET