mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 12:39:29 +02:00
svn2revisioninc: fixed detecting if current revisioninc is a valid file.
git-svn-id: trunk@10185 -
This commit is contained in:
parent
3febf01ee8
commit
ee60b9bdcc
@ -165,8 +165,8 @@ begin
|
||||
Lines := TStringList.Create;
|
||||
Lines.LoadFromFile(RevisionIncFileName);
|
||||
if (Lines.Count=2) and
|
||||
(Lines[1]=RevisionIncComment) and
|
||||
(copy(Lines[2], 1, length(ConstStart))=ConstStart) then
|
||||
(Lines[0]=RevisionIncComment) and
|
||||
(copy(Lines[1], 1, length(ConstStart))=ConstStart) then
|
||||
Result:=true;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user