|
From: Sam C. <can...@gm...> - 2006-11-30 23:58:55
|
Hi, I've been trying to get CaptainHook and the PostCommitEmailHook going with our svn installation, but I'm rather stuck. If I manually run the command "post-commit.bat D:\Repositories\binaries 567", I get the commit emails successfully, and the debug log shows: > DEBUG: 1 Dlls found > DEBUG: Loading assembly > 'D:\Repositories\binaries\hooks\plugins\Velocit.Hook.Plugins.dll' > DEBUG: Checking if type 'PostCommitEmailHook' implements 'PostCommitHook' > DEBUG: Type 'Velocit.Hook.Plugins.PostCommitEmailHook' DOES implement > PostCommitHook > DEBUG: Checking if type 'RequireLogMessageHook' implements > 'PostCommitHook' > DEBUG: type 'Velocit.Hook.Plugins.RequireLogMessageHook' does not > implement CaptainHook.Subversion.Hook.PostCommitHook. > Found and Loaded 1 hooks. > DEBUG: Attempting to run command 'svnlook.exe info > D:/Repositories/binaries -r 567 ' > DEBUG: SYDNEY\Sam Chrisp > 2006-12-01 10:07:49 +1100 (Fri, 01 Dec 2006) > 7 > test... > > DEBUG: Attempting to run command 'svnlook.exe dirs-changed > D:/Repositories/binaries -r 567 ' > DEBUG: utils/abc/ > > DEBUG: Attempting to run command 'svnlook.exe diff > D:/Repositories/binaries -r 567 --no-diff-deleted' > DEBUG: Modified: utils/abc/ExtractScript.vbs > << SNIPPED >> > From: sub...@ab... > Sending Email via Host 'smtp.abc.com:25 > Continuing Transaction?: True > However, when post-commit.bat gets invoked automatically by a commit, the debug log seems to indicate that the email sending step is skipped, and no emails come through: > DEBUG: 1 Dlls found > DEBUG: Loading assembly > 'D:\Repositories\binaries\hooks\plugins\Velocit.Hook.Plugins.dll' > DEBUG: Checking if type 'PostCommitEmailHook' implements 'PostCommitHook' > DEBUG: Type 'Velocit.Hook.Plugins.PostCommitEmailHook' DOES implement > PostCommitHook > DEBUG: Checking if type 'RequireLogMessageHook' implements > 'PostCommitHook' > DEBUG: type 'Velocit.Hook.Plugins.RequireLogMessageHook' does not > implement CaptainHook.Subversion.Hook.PostCommitHook. > Found and Loaded 1 hooks. > DEBUG: Attempting to run command 'svnlook.exe info > D:/Repositories/binaries -r 567 ' > DEBUG: SYDNEY\Sam Chrisp > 2006-12-01 10:07:49 +1100 (Fri, 01 Dec 2006) > 7 > test... > > Continuing Transaction?: True > So, I'm at a loss as to what's going on and why one works but the other doesn't. Could it be related to environment vars? permissions? Any help as to what else I could try here would be much appreciated. Configuration: OS: Win2003 SP1 SVN 1.3.0 + Apache 2055 (running under local system) + mod_ssl + mod_sspi + mod_svn + mod_dav_svn + mod_authz_svn CaptainHook built from source (trunk), default post-commit.bat |