Fixed #set_scm in reposman (#10837).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9675 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9382d856b4
commit
a59257dfb6
|
@ -59,7 +59,7 @@ def read_key_from_file(filename)
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_scm(scm)
|
def set_scm(scm)
|
||||||
$scm = v.capitalize
|
$scm = scm.capitalize
|
||||||
unless SUPPORTED_SCM.include?($scm)
|
unless SUPPORTED_SCM.include?($scm)
|
||||||
log("Invalid SCM: #{$scm}\nValid SCM are: #{SUPPORTED_SCM.join(', ')}", :exit => true)
|
log("Invalid SCM: #{$scm}\nValid SCM are: #{SUPPORTED_SCM.join(', ')}", :exit => true)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue