StoreBatchTest counts even MORE correct than before.
authorRuss Nelson <nelson@users.mediawiki.org>
Sun, 16 Oct 2011 23:03:17 +0000 (23:03 +0000)
committerRuss Nelson <nelson@users.mediawiki.org>
Sun, 16 Oct 2011 23:03:17 +0000 (23:03 +0000)
includes/filerepo/FSRepo.php

index 7bc6222..99b8436 100644 (file)
@@ -220,9 +220,11 @@ class FSRepo extends FileRepo {
                                        $hashDest = sha1_file( $dstPath );
                                        if ( $hashSource != $hashDest ) {
                                                $status->fatal( 'fileexistserror', $dstPath );
+                                               $status->failCount++;
                                        }
                                } else {
                                        $status->fatal( 'fileexistserror', $dstPath );
+                                       $status->failCount++;
                                }
                        }
                }