mirror of
https://github.com/git/git.git
synced 2024-11-19 00:53:53 +01:00
git-remote-mediawiki: fix a typo ("mediwiki" instead of "mediawiki")
Signed-off-by: Célestin Matte <celestin.matte@ensimag.fr> Signed-off-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
fed56c06ae
commit
7c47583793
@ -1090,14 +1090,14 @@ sub mw_push_file {
|
||||
# edit conflicts, considered as non-fast-forward
|
||||
print {*STDERR} 'Warning: Error ' .
|
||||
$mediawiki->{error}->{code} .
|
||||
' from mediwiki: ' . $mediawiki->{error}->{details} .
|
||||
' from mediawiki: ' . $mediawiki->{error}->{details} .
|
||||
".\n";
|
||||
return ($oldrevid, 'non-fast-forward');
|
||||
} else {
|
||||
# Other errors. Shouldn't happen => just die()
|
||||
die 'Fatal: Error ' .
|
||||
$mediawiki->{error}->{code} .
|
||||
' from mediwiki: ' . $mediawiki->{error}->{details} . "\n";
|
||||
' from mediawiki: ' . $mediawiki->{error}->{details} . "\n";
|
||||
}
|
||||
}
|
||||
$newrevid = $result->{edit}->{newrevid};
|
||||
|
Loading…
Reference in New Issue
Block a user