Mercurial > hg > soundsoftware-site
comparison .svn/pristine/5d/5d49f8300d8c88036656ba3ee811b034c32e1e91.svn-base @ 1464:261b3d9a4903 redmine-2.4
Update to Redmine 2.4 branch rev 12663
author | Chris Cannam |
---|---|
date | Tue, 14 Jan 2014 14:37:42 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1296:038ba2d95de8 | 1464:261b3d9a4903 |
---|---|
1 module Redmine | |
2 module Scm | |
3 class Base | |
4 class << self | |
5 | |
6 def all | |
7 @scms || [] | |
8 end | |
9 | |
10 # Add a new SCM adapter and repository | |
11 def add(scm_name) | |
12 @scms ||= [] | |
13 @scms << scm_name | |
14 end | |
15 | |
16 # Remove a SCM adapter from Redmine's list of supported scms | |
17 def delete(scm_name) | |
18 @scms.delete(scm_name) | |
19 end | |
20 end | |
21 end | |
22 end | |
23 end |