Hello Babu,
Thank you for the reply.

> setlocal enabledelayedexpansion
>
> set REPOS=%1
> set REV=%2
> set SVNLOOK="%VISUALSVN_SERVER%\bin\svnlook.exe"
>
> FOR /F "tokens=*" %%i in ('%SVNLOOK% dirs-changed -r %REV% %REPOS%') do SET
> VAR="%%i"
> set VAR=%VAR: =_%
> set VAR=%VAR:&=_%
>
> echo %VAR%>>%REPOS%\hooks\CoPaths.txt
>
> SETLOCAL EnableDelayedExpansion
> for /f "tokens=*" %%G in (%REPOS%\hooks\CommitPathConfig.txt) do (
> set VAR2=%%G
> set VAR2=!VAR2: =_!
> "set VAR2=!VAR2:&=_!"
>
> REM echo !VAR2!>>%REPOS%\hooks\Test.txt
> echo !VAR2!>>%REPOS%\hooks\Test1.txt
>
> REM echo "%VAR%"|findstr /lic:"!VAR2!" >nul && set re="test" || set
> re="stet"
> echo "%VAR%"|findstr /lic:"!VAR2!" >nul && set re=test||set re=stet
> set gh=test
> if !re!==!gh! (
> echo !gh!>>%REPOS%\hooks\Test.txt
> for /f "tokens=*" %%a in (%REPOS%\hooks\CommitMailConfig.txt) do (

I can't help you to determine the exact line where your hook script
files. I recommend capturing the output of the hook. The
output can help to investigate actions the hook performs and what's
the root cause of the issue. When capturing the output I recommend to
check the "post-commit.log" file for errors. This will allow to
understand what particular action / command fails. See the instruction
below.

1. Rename your current post-commit.bat file to post-commit-run.bat.

2. Create the following file as your post-commit.bat file:

[[
call "%~dp0post-commit-run.bat" %* > %1/hooks/post-commit.log 2>&1
]]

3. Commit to the repository and check the generated 'post-commit.log'
file. What is logged there? Any errors?

Thank you.

--
With best regards,
Pavel Lyalyakin
VisualSVN Team

-- 
You received this message because you are subscribed to the Google Groups 
"VisualSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to visualsvn+unsubscr...@googlegroups.com.
To post to this group, send email to visualsvn@googlegroups.com.
Visit this group at http://groups.google.com/group/visualsvn.
For more options, visit https://groups.google.com/d/optout.

Reply via email to