stable

Clone or download

Read-only

HookConfig retrieve should be done in a dedicated object

this is part of story #10214 manage svn "commit rules" with REST API Change-Id: Ib8639ebccbecacedba667a908e3fd4a912e5d78d

Modified Files

Name
M plugins/svn/bin/pre-revprop-change.php +4 −2 Go to diff View file
M plugins/svn/bin/svn_pre_commit.php +10 −8 Go to diff View file
M plugins/svn/include/REST/v1/RepositoryRepresentationBuilder.php +7 −7 Go to diff View file
M plugins/svn/include/REST/v1/RepositoryResource.php +30 −24 Go to diff View file
M plugins/svn/include/Svn/Admin/AdminController.class.php +13 −6 Go to diff View file
M plugins/svn/include/Svn/Commit/CommitMessageValidator.class.php +34 −22 Go to diff View file
M plugins/svn/include/Svn/Hooks/PreCommit.php +27 −14 Go to diff View file
M plugins/svn/include/Svn/Hooks/PreRevpropChange.class.php +35 −20 Go to diff View file
A plugins/svn/include/Svn/Repository/HookConfigRetriever.php +49 −0 Go to diff View file
M plugins/svn/include/autoload.php +3 −2 Go to diff View file
M plugins/svn/include/svnPlugin.class.php +4 −1 Go to diff View file
M plugins/svn/tests/Svn/Hooks/PreCommitSHA1CollisionTest.php +4 −2 Go to diff View file
M plugins/svn/tests/Svn/Hooks/PreCommitTest.php +31 −13 Go to diff View file
M plugins/svn/tests/Svn/Hooks/PreRevPropChangeTest.php +21 −17 Go to diff View file
A plugins/svn/tests/Svn/Repository/HookConfigTest.php +122 −0 Go to diff View file
M plugins/svn/tests/Svn/Repository/RepositoryManagerTest.php +3 −107 Go to diff View file