You've already forked lazarus-ccr
svn classes: fixed getting properties for files with spaces
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@297 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -202,7 +202,6 @@ type
|
|||||||
FFiles: TFPHashObjectList;
|
FFiles: TFPHashObjectList;
|
||||||
function GetFile(index: integer): TSvnFileProp;
|
function GetFile(index: integer): TSvnFileProp;
|
||||||
function GetFileCount: integer;
|
function GetFileCount: integer;
|
||||||
function ContainsFile(const AFileName: string) : boolean;
|
|
||||||
public
|
public
|
||||||
constructor Create;
|
constructor Create;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
@ -588,11 +587,6 @@ begin
|
|||||||
Result := FFiles.Count;
|
Result := FFiles.Count;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TSvnPropInfo.ContainsFile(const AFileName: string): boolean;
|
|
||||||
begin
|
|
||||||
Result := true;
|
|
||||||
end;
|
|
||||||
|
|
||||||
constructor TSvnPropInfo.Create;
|
constructor TSvnPropInfo.Create;
|
||||||
begin
|
begin
|
||||||
FFiles := TFPHashObjectList.Create(true);
|
FFiles := TFPHashObjectList.Create(true);
|
||||||
@ -686,7 +680,7 @@ begin
|
|||||||
if FileNames.Count>0 then begin
|
if FileNames.Count>0 then begin
|
||||||
Files := '';
|
Files := '';
|
||||||
for i := 0 to FileNames.Count-1 do
|
for i := 0 to FileNames.Count-1 do
|
||||||
Files := Files + ' ' + FileNames[i];
|
Files := Files + format(' "%s"', [FileNames[i]]);
|
||||||
ExecuteSvnCommand('proplist -v' + Files, Output);
|
ExecuteSvnCommand('proplist -v' + Files, Output);
|
||||||
Output.Position := 0;
|
Output.Position := 0;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user