[svk-commit] r2538 - branches/svk-logger/lib/SVK/Mirror/Backend

nobody at bestpractical.com nobody at bestpractical.com
Sat Aug 18 11:43:29 EDT 2007


Author: clsung
Date: Sat Aug 18 11:43:27 2007
New Revision: 2538

Modified:
   branches/svk-logger/lib/SVK/Mirror/Backend/SVNRa.pm

Log:
- let logger takes care of all print

Modified: branches/svk-logger/lib/SVK/Mirror/Backend/SVNRa.pm
==============================================================================
--- branches/svk-logger/lib/SVK/Mirror/Backend/SVNRa.pm	(original)
+++ branches/svk-logger/lib/SVK/Mirror/Backend/SVNRa.pm	Sat Aug 18 11:43:27 2007
@@ -59,6 +59,7 @@
 use SVK::Mirror::Backend::SVNRaPipe;
 use SVK::Editor::MapRev;
 use SVK::Util 'IS_WIN32';
+use SVK::Logger;
 
 use Class::Autouse qw(SVK::Editor::SubTree SVK::Editor::CopyHandler SVK::Editor::Translate);
 
@@ -459,7 +460,7 @@
     my $ra = $self->_new_ra;
     $to = $ra->get_latest_revnum() if $to == -1;
     return if $from > $to;
-    print "Retrieving log information from $from to $to\n";
+    $logger->info( "Retrieving log information from $from to $to");
     eval {
     $ra->get_log([''], $from, $to, 0,
 		  0, 1,


More information about the svk-commit mailing list