X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=cvslog2changelog.pl;h=1f8b3be01ae92d7d165232d4680ec5b31e7bc8e4;hp=6f083ef3f2721bc27401496065afccd848f05e2a;hb=f8867ec009c96710193ccc3832d8bb346192b1b0;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1 diff --git a/cvslog2changelog.pl b/cvslog2changelog.pl index 6f083ef..1f8b3be 100644 --- a/cvslog2changelog.pl +++ b/cvslog2changelog.pl @@ -38,11 +38,11 @@ while (<>) { } } elsif ($_ =~ /^revision ([0-9.]*)/) { $change->{revision} = $1; - } elsif ($_ =~ /^date: ([^; ]*) ([^; ]*); author: ([^;]*);/) { + } elsif ($_ =~ /^date: ([^; ]*) ([^; ]*)( \+[0-9]+)?; author: ([^;]*);/) { $change->{date} = $1; $change->{hour} = $2; - $change->{author} = $Authors{$3} ? $Authors{$3} : $3; - $change->{committed} = $3; + $change->{author} = $Authors{$3} ? $Authors{$3} : $4; + $change->{committed} = $4; } elsif ($_ =~ /^From: (.*)$/) { $change->{author} = $1; } elsif ($change->{revision}) {