From: joey Date: Sat, 11 Mar 2006 04:31:20 +0000 (+0000) Subject: recentchanges X-Git-Tag: 1.0~516 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=47789aee7aaecd9205b4a8f73a699289104c6c56;p=ikiwiki.git recentchanges --- diff --git a/ikiwiki b/ikiwiki index f4dc6f410..42a0ef3ba 100755 --- a/ikiwiki +++ b/ikiwiki @@ -373,8 +373,6 @@ sub rcs_recentchanges ($) { eval q{use Date::Parse}; eval q{use Time::Duration}; - my %sourcepages=reverse %pagesources; - if (-d "$srcdir/.svn") { my $info=`LANG=C svn info $srcdir`; my ($svn_url)=$info=~/^URL: (.*)$/m; @@ -398,7 +396,7 @@ sub rcs_recentchanges ($) { $when=concise(ago(time - str2time($3))); } elsif ($state eq 'header' && /^\s+[A-Z]\s+\Q$svn_base\E\/(.+)$/) { - push @pages, exists $sourcepages{$1} ? $sourcepages{$1} : $1; + push @pages, pagename($1); } elsif ($state eq 'header' && /^$/) { $state='body';