summaryrefslogtreecommitdiffstats
path: root/extra/svn/reposman.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-12 12:54:46 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-12 12:54:46 +0000
commita59257dfb69c6f2f666df5dc40bdb0625c0a994e (patch)
treebbadb0b2cf6f6264d23d45a425063dbc14f526d6 /extra/svn/reposman.rb
parent9382d856b4050ac6ae5af28134f34fe34b2b860e (diff)
downloadredmine-a59257dfb69c6f2f666df5dc40bdb0625c0a994e.tar.gz
redmine-a59257dfb69c6f2f666df5dc40bdb0625c0a994e.zip
Fixed #set_scm in reposman (#10837).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9675 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra/svn/reposman.rb')
-rwxr-xr-xextra/svn/reposman.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/svn/reposman.rb b/extra/svn/reposman.rb
index 85977e815..46b9adc19 100755
--- a/extra/svn/reposman.rb
+++ b/extra/svn/reposman.rb
@@ -59,7 +59,7 @@ def read_key_from_file(filename)
end
def set_scm(scm)
- $scm = v.capitalize
+ $scm = scm.capitalize
unless SUPPORTED_SCM.include?($scm)
log("Invalid SCM: #{$scm}\nValid SCM are: #{SUPPORTED_SCM.join(', ')}", :exit => true)
end