X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/f0b0114f778604f4f9c758600f71f706904ee666..41369c2838b08b184b03857cc544e052e8ed379d:/ikiwiki diff --git a/ikiwiki b/ikiwiki index a9f3b8c51..1b282abf9 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; @@ -397,8 +395,8 @@ sub rcs_recentchanges ($) { $user=$2; $when=concise(ago(time - str2time($3))); } - elsif ($state eq 'header' && /^\s+[A-Z]\s+\Q$svn_base\E(.+)$/) { - push @pages, $1; + elsif ($state eq 'header' && /^\s+[A-Z]\s+\Q$svn_base\E\/(.+)$/) { + push @pages, pagename($1); } elsif ($state eq 'header' && /^$/) { $state='body'; @@ -646,9 +644,7 @@ sub cgi () { my $list="