diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-11 04:31:20 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-11 04:31:20 +0000 |
commit | 47789aee7aaecd9205b4a8f73a699289104c6c56 (patch) | |
tree | 7a0fe0bd2591050de08f8f5235d637d01e781881 | |
parent | 4f318591a09c9afaf3f59658a89ecf3b7efe9e03 (diff) |
recentchanges
-rwxr-xr-x | ikiwiki | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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'; |