From 7cb1672c9d4d11baf42cb52cab1ffee2abff5e45 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 11 May 2013 18:10:40 -0700 Subject: [PATCH] Made copyFileBackend.php skip files that cannot be copied instead of stopping. Change-Id: Ib15efdd35f38adefe3db500b4b6e5a71ea1858c7 --- maintenance/copyFileBackend.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maintenance/copyFileBackend.php b/maintenance/copyFileBackend.php index 6846edf701..736910a80c 100644 --- a/maintenance/copyFileBackend.php +++ b/maintenance/copyFileBackend.php @@ -192,8 +192,9 @@ class CopyFileBackend extends Maintenance { if ( $src->fileExists( array( 'src' => $srcPath ) ) === false ) { $this->error( "File '$srcPath' was listed be must have been deleted." ); } else { - $this->error( "Could not get local copy of $srcPath.", 1 ); // die + $this->error( "Could not get local copy of $srcPath." ); } + continue; } elseif ( !$fsFile->exists() ) { // FSFileBackends just return the path for getLocalReference() and paths with // illegal slashes may get normalized to a different path. This can cause the -- 2.20.1