stable

Clone or download

Read-only

Activate pre-commit-hook mechanism

this is part of story #8821 define and enforce immutable tags In this commit, the hook mechanism will trigger if a commit is done into an immutable tag Whitelist will be the next commit Change-Id: Icd0366f9c7d2607d8cd93b64ff67325b1f0518cc

Modified Files

Name
M plugins/svn/bin/svn_pre_commit.php +28 −1 Go to diff View file
M plugins/svn/include/Svn/Commit/CommitInfo.class.php +9 −0 Go to diff View file
M plugins/svn/include/Svn/Commit/CommitInfoEnhancer.php +9 −1 Go to diff View file
M plugins/svn/include/Svn/Commit/Svnlook.class.php +5 −0 Go to diff View file
A plugins/svn/include/Svn/Hooks/PreCommit.php +122 −0 Go to diff View file
A plugins/svn/include/Svn/SvnLogger.php +39 −0 Go to diff View file
M plugins/svn/include/autoload.php +4 −2 Go to diff View file
A plugins/svn/tests/Svn/Hooks/PreCommitTest.php +272 −0 Go to diff View file