diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-18 21:22:28 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-18 21:22:28 +0000 |
commit | 83eed09109ba6b2a4b85837a071a32b731eee7b7 (patch) | |
tree | d73039815c991ea6edd3955220ee56d5440780b3 /lib/redmine | |
parent | 25012efc9c9b7623937fdb5c944364a6ed9736cb (diff) | |
download | redmine-83eed09109ba6b2a4b85837a071a32b731eee7b7.tar.gz redmine-83eed09109ba6b2a4b85837a071a32b731eee7b7.zip |
Added 2 log messages in SubversionAdapter#entries.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@743 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-rw-r--r-- | lib/redmine/scm/adapters/subversion_adapter.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/subversion_adapter.rb b/lib/redmine/scm/adapters/subversion_adapter.rb index c0ccbc9d6..eecb34c2c 100644 --- a/lib/redmine/scm/adapters/subversion_adapter.rb +++ b/lib/redmine/scm/adapters/subversion_adapter.rb @@ -81,10 +81,12 @@ module Redmine })
})
end
- rescue
+ rescue Exception => e
+ logger.info("Error parsing svn output: #{e.message}")
end
end
return nil if $? && $?.exitstatus != 0
+ logger.debug("Found #{entries.size} entries in the repository for #{target(path)}") if logger && logger.debug?
entries.sort_by_name
rescue Errno::ENOENT => e
raise CommandFailed
|