annotate .svn/pristine/5d/5d49f8300d8c88036656ba3ee811b034c32e1e91.svn-base @ 1298:4f746d8966dd redmine_2.3_integration

Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author Chris Cannam
date Fri, 14 Jun 2013 09:28:30 +0100
parents 622f24f53b42
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