svn_repository_borken_redmine2.2.patch
lib/scm_repositories_helper_patch.rb | ||
---|---|---|
56 | 56 |
def subversion_field_tags_with_add(form, repository) |
57 | 57 |
svntags = subversion_field_tags_without_add(form, repository) |
58 | 58 |
svntags.gsub!('<br />', '<br />') |
59 |
svntags = svntags.html_safe() |
|
59 | 60 | |
60 | 61 |
if @project.respond_to?(:repositories) && |
61 | 62 |
ScmConfig['max_repos'] && ScmConfig['max_repos'].to_i > 0 && @project.repositories.select{ |r| r.created_with_scm }.size >= ScmConfig['max_repos'].to_i |