[svk-commit] r2284 - branches/2.0-releng/lib/SVK/Log

nobody at bestpractical.com nobody at bestpractical.com
Mon Jan 1 13:34:06 EST 2007


Author: mndrix
Date: Mon Jan  1 13:34:05 2007
New Revision: 2284

Modified:
   branches/2.0-releng/lib/SVK/Log/FilterPipeline.pm

Log:
 r4706 at ginosko (orig r2204):  mndrix | 2006-11-27 16:39:35 -0700
 Work around a bug in SVK::I18N::_default_gettext which shows up as
 a test failure for t/25log-filter.pm when Local::Maketext::Simple is
 not installed.  I'd fix the bug, but the regex is just too ugly to grok
 right now.

Modified: branches/2.0-releng/lib/SVK/Log/FilterPipeline.pm
==============================================================================
--- branches/2.0-releng/lib/SVK/Log/FilterPipeline.pm	(original)
+++ branches/2.0-releng/lib/SVK/Log/FilterPipeline.pm	Mon Jan  1 13:34:05 2007
@@ -153,17 +153,17 @@
     if ( $type eq 'output' ) {
         die loc(
               qq(Cannot use the selection filter "%1" as an output filter.\n)
-            . qq(Perhaps you meant "--filter '%1 ...'".  If not, take a look at\n)
+            . qq(Perhaps you meant "--filter '%2 ...'".  If not, take a look at\n)
             . qq("svk help log" for examples of using log filters.\n),
-            lc($class),
+            lc($class), lc($class),
         ) if !$found->isa('SVK::Log::Filter::Output');
     }
     elsif ( $type eq 'selection' ) {
         die loc(
               qq(Cannot use the output filter "%1" in a selection pipeline.\n)
-            . qq(Perhaps you meant "--output %1".  If not, take a look at\n)
+            . qq(Perhaps you meant "--output %2".  If not, take a look at\n)
             . qq("svk help log" for examples of using log filters.\n),
-            lc($class),
+            lc($class), lc($class),
         ) if !$found->isa('SVK::Log::Filter::Selection');
     }
 


More information about the svk-commit mailing list