View | Details | Raw Unified | Return to bug 7419
Collapse All | Expand All

(-)a/misc/migration_tools/dedup_records.pl (-3 / +2 lines)
Lines 266-278 if ( $match =~ m#/# ) { Link Here
266
    $matcher->threshold( 1000 * scalar(@matchers) - 1 );
266
    $matcher->threshold( 1000 * scalar(@matchers) - 1 );
267
    $matcher->code('TEMP');
267
    $matcher->code('TEMP');
268
    $matcher->description('Temporary matcher for deduplication run');
268
    $matcher->description('Temporary matcher for deduplication run');
269
    while ( $matchers[ $cnt ] && $matchers[ $cnt++ ] =~ m#^([^/]+)/([0-9]{3})(.*)$# ) {
269
    while ( $matchers[ $cnt ] && $matchers[ $cnt++ ] =~ m#^([^/]+)/([0-9][0-9\.]{2})(.*)$# ) {
270
        $matcher->add_simple_matchpoint( $1, 1000, $2, $3, 0, 0, '' );
270
        $matcher->add_simple_matchpoint( $1, 1000, $2, $3, 0, 0, '' );
271
    }
271
    }
272
    $check ||= '';
272
    $check ||= '';
273
    my @checks = split( ',', $check );
273
    my @checks = split( ',', $check );
274
    $cnt = 0;
274
    $cnt = 0;
275
    while ( $checks[ $cnt ] && $checks[ $cnt++ ] =~ m#^([0-9]{3})(.*)$# ) {
275
    while ( $checks[ $cnt ] && $checks[ $cnt++ ] =~ m#^([0-9][0-9\.]{2})(.*)$# ) {
276
        $matcher->add_simple_required_check( $1, $2, 0, 0, '', $1, $2, 0, 0, '' );
276
        $matcher->add_simple_required_check( $1, $2, 0, 0, '', $1, $2, 0, 0, '' );
277
    }
277
    }
278
}
278
}
279
- 

Return to bug 7419