cosmetic changes from Recai

master
joey 2006-10-14 03:10:33 +00:00
parent 9256360490
commit f27a462b18
1 changed files with 5 additions and 5 deletions

View File

@ -356,19 +356,19 @@ sub rcs_recentchanges ($) { #{{{
$type = "web"; $type = "web";
$when = time - $ci->{'author_epoch'}; $when = time - $ci->{'author_epoch'};
foreach my $bit (@{ $ci->{'details'} }) { DETAIL: foreach my $detail (@{ $ci->{'details'} }) {
my $diffurl = $config{'diffurl'}; my $diffurl = $config{'diffurl'};
my $file = $bit->{'file'}; my $file = $detail->{'file'};
$diffurl =~ s/\[\[file\]\]/$file/go; $diffurl =~ s/\[\[file\]\]/$file/go;
$diffurl =~ s/\[\[sha1_parent\]\]/$ci->{'parent'}/go; $diffurl =~ s/\[\[sha1_parent\]\]/$ci->{'parent'}/go;
$diffurl =~ s/\[\[sha1_from\]\]/$bit->{'sha1_from'}/go; $diffurl =~ s/\[\[sha1_from\]\]/$detail->{'sha1_from'}/go;
$diffurl =~ s/\[\[sha1_to\]\]/$bit->{'sha1_to'}/go; $diffurl =~ s/\[\[sha1_to\]\]/$detail->{'sha1_to'}/go;
push @pages, { push @pages, {
page => pagename($file), page => pagename($file),
diffurl => $diffurl, diffurl => $diffurl,
}, };
} }
push @message, { line => $title }; push @message, { line => $title };