stable

Clone or download

Read-only

Restore a deleted SVN repository

This is a part of story #9253 delete a svn repository When you restore a svn repo you must see again the repo in repository list and don't see in restore repository list. Moreover you can do again actions on it. Change-Id: I7ba7dbc3f3d95dc55e3e3af51be478bf8d6c2246

Modified Files

Name
M plugins/hudson_svn/include/hudson_svnPlugin.class.php +10 −1 Go to diff View file
M plugins/referencealias_svn/include/referencealias_svnPlugin.class.php +10 −1 Go to diff View file
M plugins/svn/bin/pre-revprop-change.php +5 −1 Go to diff View file
M plugins/svn/bin/svn_post_commit.php +5 −1 Go to diff View file
M plugins/svn/bin/svn_pre_commit.php +5 −1 Go to diff View file
A plugins/svn/include/Svn/Admin/RestoreController.php +65 −0 Go to diff View file
A plugins/svn/include/Svn/Admin/RestorePresenter.php +46 −0 Go to diff View file
M plugins/svn/include/Svn/Dao.class.php +32 −2 Go to diff View file
M plugins/svn/include/Svn/Repository/Repository.class.php +5 −0 Go to diff View file
M plugins/svn/include/Svn/Repository/RepositoryManager.class.php +81 −11 Go to diff View file
M plugins/svn/include/Svn/SvnAdmin.php +37 −0 Go to diff View file
M plugins/svn/include/Svn/SvnRouter.class.php +11 −7 Go to diff View file
M plugins/svn/include/autoload.php +5 −2 Go to diff View file
M plugins/svn/include/constants.php +2 −1 Go to diff View file
M plugins/svn/include/events/SystemEvent_SVN_DELETE_REPOSITORY.class.php +5 −1 Go to diff View file
A plugins/svn/include/events/SystemEvent_SVN_RESTORE_REPOSITORY.php +117 −0 Go to diff View file
M plugins/svn/include/svnPlugin.class.php +26 −4 Go to diff View file
M plugins/svn/site-content/en_US/svn.tab +4 −0 Go to diff View file
M plugins/svn/site-content/fr_FR/svn.tab +4 −0 Go to diff View file
A plugins/svn/templates/admin/repository_restore.mustache +27 −0 Go to diff View file
M plugins/svn/tests/Svn/Repository/RepositoryManagerTest.php +27 −18 Go to diff View file
M plugins/svn/tests/Svn/XMLImporterTest.php +19 −15 Go to diff View file
M src/common/autoload.php +2 −8 Go to diff View file
M src/common/backend/BackendSVN.class.php +8 −0 Go to diff View file
M src/www/themes/common/css/utils/_admin.scss +9 −0 Go to diff View file