summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-03 18:28:14 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-03 18:28:14 +0000
commit832c7eaaa5af2e13c52b1c264b9849f958394d2e (patch)
tree5e940f475b336583064e42cb90b45e407013eae6 /lib
parentb21e85b6dc1c2751abcf380fa2cefd0758e7a870 (diff)
downloadredmine-832c7eaaa5af2e13c52b1c264b9849f958394d2e.tar.gz
redmine-832c7eaaa5af2e13c52b1c264b9849f958394d2e.zip
Fixed: undefined local variable or method 'log' in CvsAdapter when a cvs command fails.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1034 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/scm/adapters/abstract_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb
index 138d7e647..633637ab4 100644
--- a/lib/redmine/scm/adapters/abstract_adapter.rb
+++ b/lib/redmine/scm/adapters/abstract_adapter.rb
@@ -119,7 +119,7 @@ module Redmine
end
rescue Errno::ENOENT => e
# The command failed, log it and re-raise
- log.error("SCM command failed: #{cmd}\n with: #{e.message}")
+ logger.error("SCM command failed: #{cmd}\n with: #{e.message}")
raise CommandFailed
end
end