>What output does your 'pre-lock' hook template produce?
>My guess would be that it produces something...

Hello,
My repo hasnt any active hooks, just templates in  hooks dir.
So as first i tried to run almost empty pre-lock hook and strange is, the batch 
file is not executed. Next step was to verify other hooks. Commit hooks was 
started successfully, but lock hook not.

Details:
My (very simple) hook batch (for start-commit, pre-commit and post-commit are 
similar):

pre-lock.bat
<code>
echo off

echo begin pre-lock >> C:\software\svnroot\repos\test001\hooks\tracefile.txt
echo SVN_REPOS %1 >> C:\software\svnroot\repos\test001\hooks\tracefile.txt
echo SVN_PATH %2 >> C:\software\svnroot\repos\test001\hooks\tracefile.txt
echo SVN_USER %3 >> C:\software\svnroot\repos\test001\hooks\tracefile.txt
echo end pre-lock >> C:\software\svnroot\repos\test001\hooks\tracefile.txt
</code>

And tracefile.txt:

begin start-commit 
REPOS C:\software\svnroot\repos\test001 
USER iras24 
end start-commit 
begin pre-commit 
REPOS C:\software\svnroot\repos\test001 
TXN 4-5 
end pre-commit 
begin post-commit 
REPOS C:\software\svnroot\repos\test001 
REV 5 
TXN_NAME 4-5 
end post-commit

Eq, no lock hook is executed.

Please, any recommendations?

Reply via email to