my $chunks = undef;
foreach my $l (@in) {
if ($l =~ /^Index: ([\w\.\_\-\/]+)/) {
- print "content: $1\n";
+ #print "content: $1\n";
$chunk = undef;
$chunk->{type} = "content";
confess "$1 content exists" if defined($chunks->{$1}) and defined($chunks->{$1}->{content});
$chunks->{$1}->{content} = $chunk;
} elsif ($l =~ /^Property changes on: ([\w\.\_\-\/]+)/) {
- print "properties(".is_dir($1)."): $1\n";
+ #print "properties(".is_dir($1)."): $1\n";
$chunk = undef;
$chunk->{type} = "property";
{
my ($lastrev, $currev) = @_;
my $nextrev = $lastrev + 1;
+ return undef if $nextrev >= $currev;
my $logcmd = "LANG=C svn log --non-interactive -r $nextrev:$currev $SVN_PATH";
my $log = `$logcmd` || confess "$logcmd: failed";
my $revs = undef;