annotate .svn/pristine/5d/5d49f8300d8c88036656ba3ee811b034c32e1e91.svn-base @ 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
children
rev   line source
Chris@1295 1 module Redmine
Chris@1295 2 module Scm
Chris@1295 3 class Base
Chris@1295 4 class << self
Chris@1295 5
Chris@1295 6 def all
Chris@1295 7 @scms || []
Chris@1295 8 end
Chris@1295 9
Chris@1295 10 # Add a new SCM adapter and repository
Chris@1295 11 def add(scm_name)
Chris@1295 12 @scms ||= []
Chris@1295 13 @scms << scm_name
Chris@1295 14 end
Chris@1295 15
Chris@1295 16 # Remove a SCM adapter from Redmine's list of supported scms
Chris@1295 17 def delete(scm_name)
Chris@1295 18 @scms.delete(scm_name)
Chris@1295 19 end
Chris@1295 20 end
Chris@1295 21 end
Chris@1295 22 end
Chris@1295 23 end