From 83eed09109ba6b2a4b85837a071a32b731eee7b7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 18 Sep 2007 21:22:28 +0000 Subject: [PATCH] Added 2 log messages in SubversionAdapter#entries. git-svn-id: http://redmine.rubyforge.org/svn/trunk@743 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/scm/adapters/subversion_adapter.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/redmine/scm/adapters/subversion_adapter.rb b/lib/redmine/scm/adapters/subversion_adapter.rb index c0ccbc9d..eecb34c2 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