dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
782b9f1
)
[FileBackend] Made copy script use error() for status dump.
author
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 26 Jul 2012 01:45:07 +0000
(18:45 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 26 Jul 2012 01:45:07 +0000
(18:45 -0700)
Change-Id: I68a359e9ac1490683fb650d4c43f9b643e321701
maintenance/syncFileBackend.php
patch
|
blob
|
history
diff --git
a/maintenance/syncFileBackend.php
b/maintenance/syncFileBackend.php
index
c4ba66e
..
2dcf757
100644
(file)
--- a/
maintenance/syncFileBackend.php
+++ b/
maintenance/syncFileBackend.php
@@
-129,7
+129,7
@@
class SyncFileBackend extends Maintenance {
if ( $status->isOK() ) {
$lastOKPos = max( $lastOKPos, $lastPosInBatch );
} else {
- $this->
output
( print_r( $status->getErrorsArray(), true ) );
+ $this->
error
( print_r( $status->getErrorsArray(), true ) );
break; // no gaps; everything up to $lastPos must be OK
}