fix user determination for web commits

master
joey 2006-11-22 04:06:56 +00:00
parent ed982a6f30
commit 7a9fd7f2fa
1 changed files with 6 additions and 5 deletions

View File

@ -201,6 +201,12 @@ sub rcs_notify () { #{{{
my $user=`svnlook author $config{svnrepo} -r $rev`;
chomp $user;
my $message=`svnlook log $config{svnrepo} -r $rev`;
if ($message=~/$config{web_commit_regexp}/) {
$user=defined $2 ? "$2" : "$3";
$message=$4;
}
my @changed_pages;
foreach my $change (`svnlook changed $config{svnrepo} -r $rev`) {
@ -213,11 +219,6 @@ sub rcs_notify () { #{{{
require IkiWiki::UserInfo;
send_commit_mails(
sub {
my $message=`svnlook log $config{svnrepo} -r $rev`;
if ($message=~/$config{web_commit_regexp}/) {
$user=defined $2 ? "$2" : "$3";
$message=$4;
}
return $message;
},
sub {