ignore property only changes for now...
authorStefan Metzmacher <metze@samba.org>
Sat, 1 Dec 2007 10:20:09 +0000 (04:20 -0600)
committerStefan Metzmacher <metze@samba.org>
Sat, 1 Dec 2007 10:20:09 +0000 (04:20 -0600)
metze

samba4-sync.pl

index 95be2bb..f76eb27 100755 (executable)
@@ -131,6 +131,7 @@ sub is_dir($)
 sub construct_chunk($)
 {
        my ($chunk) = @_;
+       return undef unless defined($chunk->{content}->{lines});
        my @content =  @{$chunk->{content}->{lines}};
 
        my @hdr = splice(@content, 0, 5);
@@ -214,7 +215,7 @@ sub strip_svn_properties($)
        foreach $chunk (values %{$chunks}) {
                #print Data::Dumper::Dumper($chunk);
                my $v = construct_chunk($chunk);
-               push(@out, $v);
+               push(@out, $v) if defined($v);
        }
 
        my $out = join("\n", @out);