stable

Clone or download

Read-only

request #8468: Unable to access svn immutable tags configuration with huge repository

This is a follow-up to I74d1bf2e29e71f1f2a6472e473d370b5b4358575. With very huge repository the `svnlook tree` command can take more than 2hrs. We now add a timeout that automatically stops the command after 5s. Furthermore, if the output is too big (even with the timeout) in may consume too much memory therefore keep only the 20 first lines. Change-Id: I7973876c31102555095480ac1e3eca7097261e6b

Modified Files

Name
M plugins/svn/include/Svn/Admin/ImmutableTagController.php +8 −2 Go to diff View file
M plugins/svn/include/Svn/Admin/ImmutableTagPresenter.php +9 −4 Go to diff View file
M plugins/svn/include/Svn/Commit/Svnlook.class.php +6 −3 Go to diff View file
M src/common/svn/SVN_Svnlook.class.php +4 −2 Go to diff View file
M src/common/svn/SVN_SvnlookException.class.php +2 −1 Go to diff View file
M src/common/svn/immutable_tags/SVN_Immutable_Tags_Presenter.php +7 −3 Go to diff View file
M src/www/svn/admin/immutable_tags.php +6 −1 Go to diff View file