Bastian Schmidt - 2010-05-11

I added this feature to the source code, but not to the compiled version today.
SVN-Log:
ADDED: PreCommitFileContentExclusion to prevent files with content matching a Regex to be committed.
Use FileContentExclusion in CommitRequirements to enable checking.
Regex is used to determine the files.
FileContentRegex is used to check the content of those files and if it succeeds refuses the commit.
Example:
<FileContentExclusion Description="Preventing 'test' in file content being committed" Regex=".*" FileContentRegex="test" RegexFailureMsg="File must not contain test" />