Below is the code 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 ( "%VISUALSVN_SERVER%\bin\VisualSVNServerHooks.exe" ^ commit-notification "%1" -r %2 ^ --from sm@mailserver --to %%a ^ --smtp-server mail.server.net ^ --smtp-port 25 ) ) ) endlocal On Wednesday, 11 June 2014 19:15:09 UTC+5:30, pavel.lyalyakin wrote: > > Hello Babu, > > > When commiting a folder that contains many no.of sub-folders and other > > assorted documents inside, totaling about 200MB, SVN does not send out > the > > post-commit email alerts. Is there some kind of limitation for svn on > the > > number of files or sub-folder or size? I cannot commit this folder in > > multiple pieces. > > Subversion itself does not send email notifications, it's the > post-commit hook script which is configured on the repository. Please > show us the code of your post-commit hook script. > > -- > 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.