You've already forked lazarus-ccr
fpsvnsync: don't set empty properties
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@444 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -226,6 +226,10 @@ var
|
|||||||
// because of the mime style is non-text.
|
// because of the mime style is non-text.
|
||||||
for pass := 1 to 2 do begin
|
for pass := 1 to 2 do begin
|
||||||
for j:=0 to SourceProp.Properties.Count-1 do begin
|
for j:=0 to SourceProp.Properties.Count-1 do begin
|
||||||
|
// if there is no value, don't set the property
|
||||||
|
if (SourceProp.Properties.ValueFromIndex[j]='')
|
||||||
|
then continue;
|
||||||
|
|
||||||
IsSvnEolProp := SourceProp.Properties.Names[j]='svn:eol-style';
|
IsSvnEolProp := SourceProp.Properties.Names[j]='svn:eol-style';
|
||||||
if ((pass=1) and (IsSvnEolProp=true)) or
|
if ((pass=1) and (IsSvnEolProp=true)) or
|
||||||
((pass=2) and (IsSvnEolProp=false)) then begin
|
((pass=2) and (IsSvnEolProp=false)) then begin
|
||||||
|
Reference in New Issue
Block a user