> The call to perl in my pre-commit.bat file *is* correctly defined as
> "C:/Perl/bin/perl" –I.  And I *do* have a C:\Temp folder that is
> writeble.  It was required to install the glue.

OK.

>  
> 
> My first inclination was to suspect that the environment is not setup
> correctly for the user running the pre-commit.bat file.  But that
> would be *me*, so that is ruled out.  And the batch file references
> everything using explicit paths so I don’t understand why something
> can not be found.

Don't rule it out yet. Subversion wipes clean the environment when hooks
are executed.

> I tried to redirect the Perl command line by replacing >&2 with >C:
> \Temp\commit.log but it is empty and then my commit actually runs to
> completion because the pre-commit script no longer returns a error
> code on the next line:   if NOT %ERRORLEVEL% == 0 goto
> scmbug_script_failed 2>nul

Maybe scmbug_activity.pl is executed after all...
 
> Any other suggestions on how to debug this?  

Increase debugging in the glue.conf and also enable debugging in a file
by modifying:


log4perl.category.Glue             = WARN, AppWarn, AppRest

to

log4perl.category.Glue             = WARN, AppWarn, AppRest, Logfile

and have a look at C:\Temp\scmbug_glue.log

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to