My VisualSVN works with svnnotify by sending an email notification via post-commit (general setup), but I would like not to send an email when certain keywords are included in the commit message , such as "#noemail", or something similar.
Does anyone have an example of what I can add to my post commit to view the commit message and prevent email from being sent if certain keywords exist?
Thanks!
FYI, here is an example of my current post-conceptual content:
set REPOS=%1
set REV=%2
set EMAILADDRESSES="example@example.com"
set OS=Windows_NT
set PATH=%PATH%;C:\Program Files\VisualSVN Server\bin\;C:\Perl\site\bin;C:\Perl\bin;
svnnotify --repos-path %REPOS% --revision %REV% --to %EMAILADDRESSES% -f svn@example.com --smtp smtp.example.com --subject-prefix "SVN - Rev: %%d - "