mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-04 14:14:51 +01:00
lplupdate: write svn mv commands
git-svn-id: trunk@28595 -
This commit is contained in:
parent
3e20bda683
commit
6d0ddc1c18
@ -384,8 +384,12 @@ begin
|
||||
or (Link.Minor<>Pkg.Minor)
|
||||
or (Link.Release<>Pkg.Release)
|
||||
// ignore build
|
||||
then
|
||||
writeln('Version mismatch link ',ExtractFileNameOnly(Link.Filename),' <> ',Pkg.VersionAsString,' in ',CreateRelativePath(Pkg.Filename,PkgDir));
|
||||
then begin
|
||||
if not (Quiet and WriteCommands) then
|
||||
writeln('Version mismatch link ',ExtractFileNameOnly(Link.Filename),' <> ',Pkg.VersionAsString,' in ',CreateRelativePath(Pkg.Filename,PkgDir));
|
||||
if WriteCommands then
|
||||
writeln('svn mv ',CreateRelativePath(Link.Filename,LazarusDir),' ',CreateRelativePath(LinksDir,LazarusDir)+Pkg.Name+'-'+Pkg.VersionAsString+'.lpl');
|
||||
end;
|
||||
break;
|
||||
end;
|
||||
dec(j);
|
||||
@ -417,6 +421,7 @@ begin
|
||||
writeln;
|
||||
writeln('-c, --commands');
|
||||
writeln(' Write shell commands to fix issues.');
|
||||
writeln(' Hint: use -q -c to get only the commands.');
|
||||
writeln;
|
||||
writeln('-p <directory of lpk files>, --pkgdir=<dir>');
|
||||
writeln(' The directory where to search for lpk files, including sub directories.');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user