Skip to content

Commit ccd7d7d

Browse files
committed
fixed "RevTagProblem" problem
1 parent 4ab530c commit ccd7d7d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

scripts/rev.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,15 @@ function captureGitValues( & $output )
511511
{
512512
$SQL_BUFF .= "INSERT INTO Untranslated VALUES ($id, '$lang',
513513
'$en->name', $size);\n";
514-
} else {
514+
}
515+
else if ($trFile->syncStatus == FileStatusEnum::RevTagProblem)
516+
{
517+
$SQL_BUFF .= "INSERT INTO translated VALUES ($id, '$lang',
518+
'$en->name', '$trFile->hash', $size, '$trFile->maintainer',
519+
'$trFile->completion', '$trFile->syncStatus', 0, 0);\n";
520+
}
521+
else
522+
{
515523
$additions = $deletions = -1;
516524
if ( $en->hash == $trFile->hash ){
517525
$trFile->syncStatus = FileStatusEnum::TranslatedOk;

0 commit comments

Comments
 (0)