[svk-commit] r2415 - branches/svk-logger/lib/SVK/Command

nobody at bestpractical.com nobody at bestpractical.com
Thu Jun 21 06:22:25 EDT 2007


Author: clsung
Date: Thu Jun 21 06:21:18 2007
New Revision: 2415

Modified:
   branches/svk-logger/lib/SVK/Command/Patch.pm

Log:
- this fix t/13patch.t (the same \n problem)

Modified: branches/svk-logger/lib/SVK/Command/Patch.pm
==============================================================================
--- branches/svk-logger/lib/SVK/Command/Patch.pm	(original)
+++ branches/svk-logger/lib/SVK/Command/Patch.pm	Thu Jun 21 06:21:18 2007
@@ -219,10 +219,8 @@
 	next if $file =~ /^\./;
 	$file =~ s/\.patch$// or next;
 	my ($patch, $not_applicable) = $self->_load ($file);
-	$logger->info( "$patch->{name}\@$patch->{level}: ");
-	$logger->info( "[n/a]")
-	    if $not_applicable;
-	$logger->info( "\n");
+	$logger->info( "$patch->{name}\@$patch->{level}: ".
+	    ( $not_applicable ? "[n/a]" : '' ) );
     }
     return;
 }


More information about the svk-commit mailing list