summaryrefslogtreecommitdiffstats
path: root/lib/redmine/scm/adapters/cvs_adapter.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-03-03 05:32:33 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-03-03 05:32:33 +0000
commit71aac2e3fe47ceeafa1c6a50aa8025093af4d33f (patch)
tree2d8b5b6ee345fc91ea0b3a0bcc0cd3d77b8534ad /lib/redmine/scm/adapters/cvs_adapter.rb
parentcc210c58a436c7166693a90cf0433c8278969951 (diff)
downloadredmine-71aac2e3fe47ceeafa1c6a50aa8025093af4d33f.tar.gz
redmine-71aac2e3fe47ceeafa1c6a50aa8025093af4d33f.zip
scm: fix unit tests fails in Ruby 1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4992 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/scm/adapters/cvs_adapter.rb')
-rw-r--r--lib/redmine/scm/adapters/cvs_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/cvs_adapter.rb b/lib/redmine/scm/adapters/cvs_adapter.rb
index 762e5c68d..a557199a3 100644
--- a/lib/redmine/scm/adapters/cvs_adapter.rb
+++ b/lib/redmine/scm/adapters/cvs_adapter.rb
@@ -43,7 +43,7 @@ module Redmine
end
def scm_command_version
- scm_version = scm_version_from_command_line
+ scm_version = scm_version_from_command_line.dup
if scm_version.respond_to?(:force_encoding)
scm_version.force_encoding('ASCII-8BIT')
end