[svk-commit] r2204 - trunk/lib/SVK/Log
mndrix at bestpractical.com
mndrix at bestpractical.com
Mon Nov 27 18:39:36 EST 2006
Author: mndrix
Date: Mon Nov 27 18:39:35 2006
New Revision: 2204
Modified:
trunk/lib/SVK/Log/FilterPipeline.pm
Log:
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: trunk/lib/SVK/Log/FilterPipeline.pm
==============================================================================
--- trunk/lib/SVK/Log/FilterPipeline.pm (original)
+++ trunk/lib/SVK/Log/FilterPipeline.pm Mon Nov 27 18:39:35 2006
@@ -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