]> source.dussan.org Git - redmine.git/commitdiff
Added 2 log messages in SubversionAdapter#entries.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 18 Sep 2007 21:22:28 +0000 (21:22 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 18 Sep 2007 21:22:28 +0000 (21:22 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@743 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/subversion_adapter.rb

index c0ccbc9d62634d38bea4cf03f014072192953d97..eecb34c2c6c90013a13840de9e105abf53083b3e 100644 (file)
@@ -81,10 +81,12 @@ module Redmine
                               })\r
                             })\r
               end\r
-            rescue\r
+            rescue Exception => e\r
+              logger.info("Error parsing svn output: #{e.message}")\r
             end\r
           end\r
           return nil if $? && $?.exitstatus != 0\r
+          logger.debug("Found #{entries.size} entries in the repository for #{target(path)}") if logger && logger.debug?\r
           entries.sort_by_name\r
         rescue Errno::ENOENT => e\r
           raise CommandFailed\r