From a42a115b8fa21ab506cd40765a9e5684f022451b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 22 Sep 2007 21:02:41 +0000 Subject: [PATCH] Subversion repository now accepts svn+ssh url. git-svn-id: http://redmine.rubyforge.org/svn/trunk@751 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/repository/subversion.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/repository/subversion.rb b/app/models/repository/subversion.rb index cc9c975a3..2f0990b2e 100644 --- a/app/models/repository/subversion.rb +++ b/app/models/repository/subversion.rb @@ -20,7 +20,7 @@ require 'redmine/scm/adapters/subversion_adapter' class Repository::Subversion < Repository attr_protected :root_url validates_presence_of :url - validates_format_of :url, :with => /^(http|https|svn|file):\/\/.+/i + validates_format_of :url, :with => /^(http|https|svn|svn\+ssh|file):\/\/.+/i def scm_adapter Redmine::Scm::Adapters::SubversionAdapter -- 2.39.5