stable

Clone or download

Read-only

SVN repositories can be created with a layout when the REST API is used

If for some reasons the layout cannot be created, no commit will be made but the repo will be usable. In a future contribution, failure to create the layout will mark the system event with a warning. This is part of story #10218: manage "default layout" with REST API Change-Id: I465d67a2e4364156f258c0e120ea2c7c278e1525

Modified Files

Name
M plugins/svn/include/REST/v1/RepositoryResource.php +9 −6 Go to diff View file
M plugins/svn/include/Svn/Repository/RepositoryCreator.php +10 −7 Go to diff View file
M plugins/svn/include/events/SystemEvent_SVN_CREATE_REPOSITORY.class.php +7 −2 Go to diff View file
M plugins/svn/tests/Svn/Repository/RepositoryCreatorTest.php +9 −7 Go to diff View file
M plugins/svn/tests/rest/SVN/RepositoryTest.php +2 −7 Go to diff View file
A src/common/URI/URIModifier.php +77 −0 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
M src/common/backend/BackendSVN.class.php +28 −5 Go to diff View file
A tests/simpletest/common/URI/URIModifierTest.php +52 −0 Go to diff View file