>-----Original Message----- >From: Kristis Makris [mailto:[email protected]] >Sent: Tuesday, February 10, 2009 1:01 PM >To: Gillis, Paul >Cc: [email protected] >Subject: RE: [scmbug-users] scmbug 0.26.13, Bugzilla 3.2.0, SVN 1.5.5->pre- >commit.bat fails > > >> 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 haven't ruled this out completely. But even the tip in svnbook.red-bean.com tells you that using absolute paths should work. Since these are all out-of-the-box scmbug batch files and perl scripts, this should be a well documented issue with scmbug on Windows if the environment must be set up. I find it hard to believe I'd be the first person to encounter this if that is indeed the problem. > >> 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 I commented out that line in the glue.conf file that's in my repository hooks directory. I re-ran my commit and it failed, but it did not create a C:\Temp\scmbug_glue.log file! Is there anything else I must do? This e-mail message and all attachments thereto may contain technical data that is subject to export control regulations, or confidential material, and is for the sole use of the intended recipients. Review, dissemination, or other use by anyone else is prohibited. If you are not an intended recipient, please contact the sender and delete all copies. _______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
