summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-22 21:02:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-22 21:02:41 +0000
commita42a115b8fa21ab506cd40765a9e5684f022451b (patch)
tree961e42d2c1b686abc616ad1d7105bcc8757016ec
parent2b779644682bfb2c47e1bf1e30e65a4384e2bf26 (diff)
downloadredmine-a42a115b8fa21ab506cd40765a9e5684f022451b.tar.gz
redmine-a42a115b8fa21ab506cd40765a9e5684f022451b.zip
Subversion repository now accepts svn+ssh url.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@751 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/repository/subversion.rb2
1 files changed, 1 insertions, 1 deletions
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