comparison lib/redmine/scm/base.rb @ 1295:622f24f53b42 redmine-2.3

Update to Redmine SVN revision 11972 on 2.3-stable branch
author Chris Cannam
date Fri, 14 Jun 2013 09:02:21 +0100
parents 513646585e45
children
comparison
equal deleted inserted replaced
1294:3e4c3460b6ca 1295:622f24f53b42
2 module Scm 2 module Scm
3 class Base 3 class Base
4 class << self 4 class << self
5 5
6 def all 6 def all
7 @scms 7 @scms || []
8 end 8 end
9 9
10 # Add a new SCM adapter and repository 10 # Add a new SCM adapter and repository
11 def add(scm_name) 11 def add(scm_name)
12 @scms ||= [] 12 @scms ||= []